aboutsummaryrefslogtreecommitdiff
path: root/src/slabtest.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/slabtest.c')
-rw-r--r--src/slabtest.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/slabtest.c b/src/slabtest.c
index da2c3d4..e120fcb 100644
--- a/src/slabtest.c
+++ b/src/slabtest.c
@@ -42,7 +42,7 @@ runtest (CCTK_ARGUMENTS,
printf
("Mismatch at [%d,%d,%d]: should be %g, is %g\n",
cctk_lbnd[0] + i, cctk_lbnd[1] + j, cctk_lbnd[2] + k,
- gfz[ind], gfy[ind]);
+ (double) gfz[ind], (double) gfy[ind]);
mismatch = 1;
}
}
@@ -348,4 +348,8 @@ void SlabTest_Test (CCTK_ARGUMENTS)
/* TODO: strides, into array, out of array */
+
+
+
+ * success = 1;
}