From f72068499e3096125a16b965b448ce9d517ac9aa Mon Sep 17 00:00:00 2001 From: Ann Almgren Date: Wed, 6 Nov 2024 08:45:05 -0800 Subject: [PATCH] fix typo in EOS --- Source/Utils/ERF_EOS.H | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/Utils/ERF_EOS.H b/Source/Utils/ERF_EOS.H index dcae76733..978926a19 100644 --- a/Source/Utils/ERF_EOS.H +++ b/Source/Utils/ERF_EOS.H @@ -29,7 +29,7 @@ amrex::Real getThgivenPandT(const amrex::Real T, const amrex::Real P, const amre * @params[ out] temperature */ AMREX_GPU_HOST_DEVICE AMREX_FORCE_INLINE -amrex::Real getTgivenPandTh(const amrex::Real th, const amrex::Real P, const amrex::Real rdOcp) +amrex::Real getTgivenPandTh(const amrex::Real P, const amrex::Real th, const amrex::Real rdOcp) { return th / std::pow(p_0/P, rdOcp); }