aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/WriteInfo.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/WriteInfo.c b/src/WriteInfo.c
index 2355074..b6fb1be 100644
--- a/src/WriteInfo.c
+++ b/src/WriteInfo.c
@@ -110,6 +110,12 @@ int IOBasic_WriteInfo (const cGH *GH, int vindex)
reduction->next->value = (double) ((CCTK_REAL *) ptr)[1];
reduction->next->is_valid = 1;
}
+#ifdef CCTK_INT1
+ else if (vtype == CCTK_VARIABLE_INT1)
+ {
+ reduction->value = (double) *(CCTK_INT1 *) ptr;
+ }
+#endif
#ifdef CCTK_INT2
else if (vtype == CCTK_VARIABLE_INT2)
{