diff --git a/src/hydro_system.hpp b/src/hydro_system.hpp index 245b600b2..2d8b44a12 100644 --- a/src/hydro_system.hpp +++ b/src/hydro_system.hpp @@ -213,7 +213,8 @@ template auto HydroSystem::maxSignalSpeedLocal(a } else { const auto Etot = cons[bx](i, j, k, HydroSystem::energy_index); const auto Eint = Etot - kinetic_energy; - const auto P = ComputePressure(cons[bx], i, j, k); // const auto P = Eint * (HydroSystem::gamma_ - 1.0); + const auto P = + ComputePressure(cons[bx], i, j, k); // const auto P = Eint * (HydroSystem::gamma_ - 1.0); cs = std::sqrt(HydroSystem::gamma_ * P / rho); } return {cs + abs_vel};