diff options
Diffstat (limited to 'src/Utils.c')
-rw-r--r-- | src/Utils.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Utils.c b/src/Utils.c index c6a1c98..6c01e76 100644 --- a/src/Utils.c +++ b/src/Utils.c @@ -823,7 +823,7 @@ ioRequest *IOUtil_DefaultIORequest (const cGH *GH, int vindex) /* get the I/O request datatype (will be single-precision if requested) */ request->hdatatype = CCTK_VarTypeI (vindex); - if (myGH->out_single) + if (myGH->out_single && CCTK_GroupTypeFromVarI (vindex) != CCTK_SCALAR) { if (request->hdatatype == CCTK_VARIABLE_REAL) { |