diff options
author | allen <allen@eff87b29-5268-4891-90a3-a07138403961> | 2001-05-10 17:20:03 +0000 |
---|---|---|
committer | allen <allen@eff87b29-5268-4891-90a3-a07138403961> | 2001-05-10 17:20:03 +0000 |
commit | 3ccc2c5afda9cc2f2fa79b5148bfda9f8bad5d6d (patch) | |
tree | 4f4643f799c9060b8234157de9ac7b9a7e6205d1 | |
parent | 1b9f3af684a1aa3eb5e0697bddf43c5586b4e084 (diff) |
Timelevel indexing
git-svn-id: http://svn.cactuscode.org/arrangements/CactusIO/IOJpeg/trunk@41 eff87b29-5268-4891-90a3-a07138403961
-rw-r--r-- | src/Write2D.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/src/Write2D.c b/src/Write2D.c index 244b990..027a7f8 100644 --- a/src/Write2D.c +++ b/src/Write2D.c @@ -94,11 +94,7 @@ int IOJpeg_Write2D (cGH *GH, int vindex, const char *alias) /* get the variable's full name and the current timelevel */ fullname = CCTK_FullName (vindex); - timelevel = CCTK_NumTimeLevelsFromVarI (vindex) - 1; - if (timelevel > 0) - { - timelevel--; - } + timelevel = 0; /* Get the handle for Jpeg's IO extensions */ ssGH = (IOJpegGH *) GH->extensions[CCTK_GHExtensionHandle ("IOJpeg")]; |