diff options
Diffstat (limited to 'src/Write2D.c')
-rw-r--r-- | src/Write2D.c | 2 |
1 files changed, 1 insertions, 1 deletions
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++) |