aboutsummaryrefslogtreecommitdiff
path: root/src/RK87.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/RK87.c')
-rw-r--r--src/RK87.c10
1 files changed, 7 insertions, 3 deletions
diff --git a/src/RK87.c b/src/RK87.c
index 68c7ff2..21b00ce 100644
--- a/src/RK87.c
+++ b/src/RK87.c
@@ -229,10 +229,14 @@ void MoL_RK87Add(CCTK_ARGUMENTS)
}
- /* Real arrays */
+ /* Arrays */
- CCTK_WARN(0, "Peter has been too lazy to write the RK87 routine "
- "out for array variables. Better send him an email...");
+ if (MoLNumEvolvedArrayVariables > 0 ||
+ MoLNumEvolvedComplexArrayVariables > 0)
+ {
+ CCTK_WARN(0, "Peter has been too lazy to write the RK87 routine "
+ "out for array variables. Better send him an email...");
+ }
return;
}