diff options
author | lanfer <lanfer@17b73243-c579-4c4c-a9d2-2d5706c11dac> | 2000-03-03 16:03:03 +0000 |
---|---|---|
committer | lanfer <lanfer@17b73243-c579-4c4c-a9d2-2d5706c11dac> | 2000-03-03 16:03:03 +0000 |
commit | 976b968fd5d82ae926911759100353bb57e3505d (patch) | |
tree | bb334f3c362e49f5accee90750547c1f7f0b32ec /src/main | |
parent | 624e0d0f51922d60099738a550a774e8eafc1254 (diff) |
bug fix
git-svn-id: http://svn.cactuscode.org/flesh/trunk@1409 17b73243-c579-4c4c-a9d2-2d5706c11dac
Diffstat (limited to 'src/main')
-rw-r--r-- | src/main/Stagger.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/Stagger.c b/src/main/Stagger.c index f19c3a8d..3ae5a570 100644 --- a/src/main/Stagger.c +++ b/src/main/Stagger.c @@ -250,7 +250,7 @@ int CCTK_StaggerDirArray(int *dindex , int dim, int sindex) { val = (int)(sindex / hash[b]); sindex = sindex % hash[b]; - if (dim<b) dindex[b] = val; + if (b<dim) dindex[b] = val; } return(0); } |