From 3f658de50779cc63a6e4ccee9ae8a6e20b004090 Mon Sep 17 00:00:00 2001 From: tradke Date: Fri, 10 May 2002 09:19:29 +0000 Subject: Bugfix for obtaining a variable's extents. This closes PR CactusBase/IOASCII 1039. git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/IOASCII/trunk@114 94b1c47f-dcfd-45ef-a468-0854c0e9e350 --- src/Write2D.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Write2D.c b/src/Write2D.c index a3f31e2..a009356 100644 --- a/src/Write2D.c +++ b/src/Write2D.c @@ -222,7 +222,7 @@ int IOASCII_Write2D (const cGH *GH, int vindex, const char *alias) } /* get the extents of the variable */ - CCTK_GroupgshVI (GH, 3, extent_int, vindex); + CCTK_GroupgshVI (GH, gdata.dim, extent_int, vindex); /* now do the actual I/O looping over all directions */ for (dir = 0; dir < maxdir; dir++) -- cgit v1.2.3