aboutsummaryrefslogtreecommitdiff
path: root/src/apply.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/apply.c')
-rw-r--r--src/apply.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/apply.c b/src/apply.c
index 1bdfb37..ad5f2f9 100644
--- a/src/apply.c
+++ b/src/apply.c
@@ -245,6 +245,13 @@ BndReflectVI (cGH const * restrict const cctkGH,
assert (table>=0);
varptr = CCTK_VarDataPtrI (cctkGH, 0, vi);
+ if (!varptr) {
+ fullname = CCTK_FullName (vi);
+ CCTK_VInfo (CCTK_THORNSTRING,
+ "assertion for \"%s\"",
+ fullname);
+ free (fullname);
+ }
assert (varptr);