diff options
Diffstat (limited to 'src/RK87.c')
-rw-r--r-- | src/RK87.c | 10 |
1 files changed, 7 insertions, 3 deletions
@@ -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; } |