From dd988b4f3f6c2a08e0f89db3ef9a3ffb6732acc1 Mon Sep 17 00:00:00 2001 From: allen Date: Sat, 12 May 2001 19:30:46 +0000 Subject: Timelevels git-svn-id: http://svn.cactuscode.org/arrangements/CactusUtils/NaNChecker/trunk@6 ff385933-4943-42dc-877b-ffc776028de6 --- src/NaNCheck.c | 3 +-- 1 file changed, 1 insertion(+), 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) -- cgit v1.2.3