diff options
author | allen <allen@b61c5cb5-eaca-4651-9a7a-d64986f99364> | 2001-10-31 17:47:50 +0000 |
---|---|---|
committer | allen <allen@b61c5cb5-eaca-4651-9a7a-d64986f99364> | 2001-10-31 17:47:50 +0000 |
commit | cba193c438453cf2c92ac86e8e1342465f0371ab (patch) | |
tree | 2575edb45a71b05069558e7a4ce3b91f15b43ac5 | |
parent | 3c2d7c8ae5f322d135e3cf344e8d07af107eb95b (diff) |
Fixed fatal typo in storage allocation
Cactus/819
Thanks Erik !!
git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGH/PUGH/trunk@358 b61c5cb5-eaca-4651-9a7a-d64986f99364
-rw-r--r-- | src/Storage.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Storage.c b/src/Storage.c index 3fe0334..4ac1ed7 100644 --- a/src/Storage.c +++ b/src/Storage.c @@ -826,7 +826,7 @@ static int PUGH_EnableGArrayGroupStorage (pGH *pughGH, } } - if (GA->extras->npoints * GA->varsize < 0 || GA->padddata != NULL) + if (GA->extras->npoints * GA->varsize < 0 || GA->padddata == NULL) { CCTK_VWarn (0, __LINE__, __FILE__, CCTK_THORNSTRING, "PUGH_EnableGArrayDataStorage: Cannot allocate data for " |