diff options
author | tradke <tradke@b61c5cb5-eaca-4651-9a7a-d64986f99364> | 2002-06-27 14:46:42 +0000 |
---|---|---|
committer | tradke <tradke@b61c5cb5-eaca-4651-9a7a-d64986f99364> | 2002-06-27 14:46:42 +0000 |
commit | 6180dd27fa7ccd6e41de6ffd48280fb6f958e291 (patch) | |
tree | 6bcd0a2cc122830c1bc0661f7741c535ac00d0ee /src | |
parent | 32876a143acdab85fd33253ba1340be437923810 (diff) |
Fixed a bug where GH->data[] pointers for grid scalars were set to NULL
even if they had storage assigned globally.
git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGH/PUGH/trunk@391 b61c5cb5-eaca-4651-9a7a-d64986f99364
Diffstat (limited to 'src')
-rw-r--r-- | src/Storage.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/Storage.c b/src/Storage.c index c0a3ec9..b70755b 100644 --- a/src/Storage.c +++ b/src/Storage.c @@ -1667,11 +1667,11 @@ static int PUGHi_DisableScalarGroupStorage (pGH *pughGH, { /* set the storage flag to no-storage*/ ((char *) temp)[vtypesize] = PUGH_NOSTORAGE; + + /* set the variable's data pointer in the cGH structure */ + ((cGH *) pughGH->callerid)->data[variable][level] = NULL; } } - - /* set the variable's data pointer in the cGH structure */ - ((cGH *) pughGH->callerid)->data[variable][level] = NULL; } } |