From e9aea87e3a544ffdb4b9f8943428f8610c95182f Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 31 Jul 2023 17:22:18 +0000 Subject: [PATCH] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- src/EOS.hpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/EOS.hpp b/src/EOS.hpp index ef13ec736..515dcc661 100644 --- a/src/EOS.hpp +++ b/src/EOS.hpp @@ -232,8 +232,8 @@ EOS::ComputeEintTempDerivative(const amrex::Real rho, const amrex::Re } template -AMREX_FORCE_INLINE AMREX_GPU_HOST_DEVICE auto -EOS::ComputeOtherDerivatives(const amrex::Real rho, const amrex::Real P, const std::optional> massScalars) +AMREX_FORCE_INLINE AMREX_GPU_HOST_DEVICE auto EOS::ComputeOtherDerivatives(const amrex::Real rho, const amrex::Real P, + const std::optional> massScalars) { // compute derivative of specific internal energy w/r/t density, given density and pressure amrex::Real deint_dRho = NAN; @@ -278,7 +278,6 @@ EOS::ComputeOtherDerivatives(const amrex::Real rho, const amrex::Real return std::make_tuple(deint_dRho, deint_dP, dRho_dP); } - template AMREX_FORCE_INLINE AMREX_GPU_HOST_DEVICE auto EOS::ComputePressure(amrex::Real rho, amrex::Real Eint, const std::optional> massScalars)