aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortradke <tradke@b61c5cb5-eaca-4651-9a7a-d64986f99364>2002-04-18 13:14:29 +0000
committertradke <tradke@b61c5cb5-eaca-4651-9a7a-d64986f99364>2002-04-18 13:14:29 +0000
commit7189fe1135d6dc7268f996eb8ed65783ee91ea91 (patch)
treefc855f835ca9d707f942e7ef023178d9a8f0c7b6
parentfcc22520336d70723631312f24c26334fc19cf96 (diff)
Bugfix in PUGHi_DisableScalarGroupStorage() where a loop over timelevels
was counted up instead of down. Thanks to Ian Hawke to find out. git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGH/PUGH/trunk@378 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 76e2fa9..d069b07 100644
--- a/src/Storage.c
+++ b/src/Storage.c
@@ -1670,7 +1670,7 @@ static int PUGHi_DisableScalarGroupStorage (pGH *pughGH,
for (variable = 0; variable < n_variables; variable++)
{
- for (level = max_timelevels-1; level >= 0; level++)
+ for (level = 0; level < max_timelevels; level++)
{
temp = pughGH->variables[variable+first_var][level];