diff options
author | tradke <tradke@b61c5cb5-eaca-4651-9a7a-d64986f99364> | 2001-10-31 18:33:08 +0000 |
---|---|---|
committer | tradke <tradke@b61c5cb5-eaca-4651-9a7a-d64986f99364> | 2001-10-31 18:33:08 +0000 |
commit | 43e28355791adbfc03d0d570e62a7ed29aee7614 (patch) | |
tree | b933fb4a95479a92f615e8efb6d5c0fb871124ea | |
parent | cba193c438453cf2c92ac86e8e1342465f0371ab (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.c | 2 |
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 " |