diff --git a/src/RadhydroSimulation.hpp b/src/RadhydroSimulation.hpp index 5a3733032..e452cdbb2 100644 --- a/src/RadhydroSimulation.hpp +++ b/src/RadhydroSimulation.hpp @@ -753,7 +753,7 @@ template void RadhydroSimulation::FixupState(int // fix hydro state HydroSystem::EnforceLimits(densityFloor_, pressureFloor_, speedCeiling_, tempCeiling_, tempFloor_, state_new_cc_[lev]); - HydroSystem::EnforceLimits(densityFloor_, pressureFloor_, speedCeiling_, tempCeiling_, tempFloor_, state_old_cc_[lev]); + // sync internal energy and total energy HydroSystem::SyncDualEnergy(state_new_cc_[lev]); }