aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorallen <allen@b61c5cb5-eaca-4651-9a7a-d64986f99364>2001-10-31 17:47:50 +0000
committerallen <allen@b61c5cb5-eaca-4651-9a7a-d64986f99364>2001-10-31 17:47:50 +0000
commitcba193c438453cf2c92ac86e8e1342465f0371ab (patch)
tree2575edb45a71b05069558e7a4ce3b91f15b43ac5
parent3c2d7c8ae5f322d135e3cf344e8d07af107eb95b (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.c2
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 "