From c4a36f0380ae712e1420b5c375fa8fba5d89da67 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Wed, 26 Jul 2023 19:31:07 +0000 Subject: [PATCH] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- src/hydro_system.hpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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};