aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortradke <tradke@b61c5cb5-eaca-4651-9a7a-d64986f99364>2001-10-31 18:33:08 +0000
committertradke <tradke@b61c5cb5-eaca-4651-9a7a-d64986f99364>2001-10-31 18:33:08 +0000
commit43e28355791adbfc03d0d570e62a7ed29aee7614 (patch)
treeb933fb4a95479a92f615e8efb6d5c0fb871124ea
parentcba193c438453cf2c92ac86e8e1342465f0371ab (diff)
Fixed a copy/paste bug from my latest config.
Closes PR CactusPUGH-PUGH 819. git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGH/PUGH/trunk@359 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 4ac1ed7..9c8cf90 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 "