diff options
author | tradke <tradke@17b73243-c579-4c4c-a9d2-2d5706c11dac> | 2005-06-07 16:31:12 +0000 |
---|---|---|
committer | tradke <tradke@17b73243-c579-4c4c-a9d2-2d5706c11dac> | 2005-06-07 16:31:12 +0000 |
commit | fa201fb84c8ad7bba61080d3e4e1f2af3a0e789f (patch) | |
tree | 4ff1e54d2950d15eb1c1b6ecfe48a46528db4b66 /src | |
parent | d62d68836486adbc9b2bda053aed17b4443e59bd (diff) |
Fixed bug from my last commit: CCTK_NumGroups() doesn't take an argument.
git-svn-id: http://svn.cactuscode.org/flesh/trunk@4076 17b73243-c579-4c4c-a9d2-2d5706c11dac
Diffstat (limited to 'src')
-rw-r--r-- | src/main/GroupsOnGH.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/GroupsOnGH.c b/src/main/GroupsOnGH.c index 5c8f087c..1269ba0d 100644 --- a/src/main/GroupsOnGH.c +++ b/src/main/GroupsOnGH.c @@ -589,7 +589,7 @@ int CCTK_ActiveTimeLevelsGI(const cGH *GH, int gindex) int increase=0; int timelevels; - if (gindex < 0 || gindex >= CCTK_NumGroups (GH)) + if (gindex < 0 || gindex >= CCTK_NumGroups ()) { CCTK_VWarn (1, __LINE__, __FILE__, "Cactus", "CCTK_ActiveTimeLevelsGI: invalid group index %d given", |