diff options
author | allen <allen@ff385933-4943-42dc-877b-ffc776028de6> | 2001-05-12 19:30:46 +0000 |
---|---|---|
committer | allen <allen@ff385933-4943-42dc-877b-ffc776028de6> | 2001-05-12 19:30:46 +0000 |
commit | dd988b4f3f6c2a08e0f89db3ef9a3ffb6732acc1 (patch) | |
tree | 87d949907a158b054e01895a6a469681f980e672 | |
parent | a17a72443273b6a7f7ef42e71ebccc587e949162 (diff) |
Timelevels
git-svn-id: http://svn.cactuscode.org/arrangements/CactusUtils/NaNChecker/trunk@6 ff385933-4943-42dc-877b-ffc776028de6
-rw-r--r-- | src/NaNCheck.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/NaNCheck.c b/src/NaNCheck.c index eb64862..eafd3cd 100644 --- a/src/NaNCheck.c +++ b/src/NaNCheck.c @@ -17,7 +17,6 @@ #include "cctk_WarnLevel.h" #include "cctk_Parameters.h" #include "cctk_Termination.h" - /* the rcsid and the macro to use it */ static char *rcsid = "$Header$"; CCTK_FILEVERSION(BetaThorns_NaNChecker_NaNCheck_c) @@ -331,7 +330,7 @@ static void NaNCheck (int vindex, const char *optstring, void *_GH) } /* get the pointer to the data (current time level) */ - data = CCTK_VarDataPtrI (GH, CCTK_NumTimeLevelsFromVarI(vindex)-1,vindex); + data = CCTK_VarDataPtrI (GH, 0, vindex); /* do the checking according to the variable's type */ if (vtype == CCTK_VARIABLE_REAL || CCTK_VARIABLE_COMPLEX) |