diff --git a/integration/VODE/actual_integrator.H b/integration/VODE/actual_integrator.H index 4b664b0f92..d17e1dc6e1 100644 --- a/integration/VODE/actual_integrator.H +++ b/integration/VODE/actual_integrator.H @@ -177,7 +177,7 @@ void actual_integrator (BurnT& state, Real dt, bool is_retry=false) #ifndef AMREX_USE_GPU std::cout << Font::Bold << FGColor::Red << "[ERROR] integration failed in net" << ResetDisplay << std::endl; std::cout << "istate = " << istate << std::endl; - if (istate == 2) { + if (istate == IERR_SUCCESS) { std::cout << " VODE exited successfully, but a check on the data values failed" << std::endl; } std::cout << "zone = (" << state.i << ", " << state.j << ", " << state.k << ")" << std::endl; diff --git a/integration/VODE/actual_integrator_simplified_sdc.H b/integration/VODE/actual_integrator_simplified_sdc.H index 18a297add6..5f1bc1dc6c 100644 --- a/integration/VODE/actual_integrator_simplified_sdc.H +++ b/integration/VODE/actual_integrator_simplified_sdc.H @@ -187,7 +187,7 @@ void actual_integrator (BurnT& state, Real dt, bool is_retry=false) #ifndef AMREX_USE_GPU std::cout << Font::Bold << FGColor::Red << "[ERROR] integration failed in net" << ResetDisplay << std::endl; std::cout << "istate = " << istate << std::endl; - if (istate == 2) { + if (istate == IERR_SUCCESS) { std::cout << " VODE exited successfully, but a check on the data values failed" << std::endl; } std::cout << "zone = (" << state.i << ", " << state.j << ", " << state.k << ")" << std::endl;