Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Jul 26, 2023
1 parent 580f3e5 commit c4a36f0
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/hydro_system.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -213,7 +213,8 @@ template <typename problem_t> auto HydroSystem<problem_t>::maxSignalSpeedLocal(a
} else {
const auto Etot = cons[bx](i, j, k, HydroSystem<problem_t>::energy_index);
const auto Eint = Etot - kinetic_energy;
const auto P = ComputePressure(cons[bx], i, j, k); // const auto P = Eint * (HydroSystem<problem_t>::gamma_ - 1.0);
const auto P =
ComputePressure(cons[bx], i, j, k); // const auto P = Eint * (HydroSystem<problem_t>::gamma_ - 1.0);
cs = std::sqrt(HydroSystem<problem_t>::gamma_ * P / rho);
}
return {cs + abs_vel};
Expand Down

0 comments on commit c4a36f0

Please sign in to comment.