aboutsummaryrefslogtreecommitdiff
path: root/src/interpolate.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/interpolate.c')
-rw-r--r--src/interpolate.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/interpolate.c b/src/interpolate.c
index 9d52c9a..884abe6 100644
--- a/src/interpolate.c
+++ b/src/interpolate.c
@@ -88,7 +88,7 @@ ReflectionSymmetry_Interpolate (CCTK_POINTER_TO_CONST restrict const cctkGH_,
{
new_interp_coords[dir]
= malloc (N_interp_points * sizeof (CCTK_REAL));
- assert (new_interp_coords[dir]);
+ assert (N_interp_points == 0 || new_interp_coords[dir]);
for (n=0; n<N_interp_points; ++n)
{