diff options
-rw-r--r-- | src/ParamCheck.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ParamCheck.c b/src/ParamCheck.c index 112c530..301a252 100644 --- a/src/ParamCheck.c +++ b/src/ParamCheck.c @@ -128,8 +128,8 @@ int MoL_ParamCheck(CCTK_ARGUMENTS) "number of intermediate steps must be 3"); } - if ( (CCTK_Equals(ODE_Method, "RK4"))&&(!(MoL_Intermediate_Steps == 4)) - && (!(MoL_Num_Scratch_Levels > 1))) + if ( (CCTK_Equals(ODE_Method, "RK4")) && ( (!(MoL_Intermediate_Steps == 4)) + || (!(MoL_Num_Scratch_Levels > 0)) ) ) { CCTK_PARAMWARN("When using the efficient RK4 evolver the " "number of intermediate steps must be 4, and" |