From 289e1605fb58610813e118d384d9cd0b0177315a 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 12:12:11 +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, 1 insertion(+), 2 deletions(-) diff --git a/src/hydro_system.hpp b/src/hydro_system.hpp index 54ee9b9d3..5817d8afd 100644 --- a/src/hydro_system.hpp +++ b/src/hydro_system.hpp @@ -37,7 +37,6 @@ #include "actual_eos_data.H" #endif - // this struct is specialized by the user application code // template struct HydroSystem_Traits { @@ -317,7 +316,7 @@ AMREX_GPU_DEVICE AMREX_FORCE_INLINE auto HydroSystem::ComputePressure eos_t chemstate; // cannot use burn_t here; it does not contain pressure chemstate.rho = rho; - chemstate.e = thermal_energy / rho; + chemstate.e = thermal_energy / rho; const auto &massArray = *massScalars; for (int nn = 0; nn < nmscalars_; ++nn) { chemstate.xn[nn] = massArray[nn] / spmasses[nn]; // massScalars are partial densities (massFractions * rho)