From 4bc4950d90737b122d9b717218514576b44f7baf Mon Sep 17 00:00:00 2001 From: Ann Almgren Date: Wed, 6 Nov 2024 08:45:50 -0800 Subject: [PATCH] fix typo in EOS (#1931) --- 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); }