aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/NaNCheck.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/NaNCheck.c b/src/NaNCheck.c
index d140c47..ad854c0 100644
--- a/src/NaNCheck.c
+++ b/src/NaNCheck.c
@@ -182,6 +182,7 @@ int NaNChecker_NaNCheck (const cGH *GH)
{
CCTK_WARN (1, "'action_if_found' parameter is set to 'terminate' - "
"scheduling graceful termination of Cactus");
+ CCTK_TerminateNext (GH);
}
else if (CCTK_Equals (info.action_if_found, "abort"))
{