From 00c58e9423a4497d17b94b2b930b6066d84e6cd9 Mon Sep 17 00:00:00 2001 From: Zhi Date: Thu, 29 Aug 2024 16:21:33 -0400 Subject: [PATCH] fix --- pyro/compressible/riemann.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/pyro/compressible/riemann.py b/pyro/compressible/riemann.py index bf46c26ff..050f929c9 100644 --- a/pyro/compressible/riemann.py +++ b/pyro/compressible/riemann.py @@ -908,11 +908,11 @@ def riemann_flux(idir, U_l, U_r, my_data, rp, ivars, riemannFunc = riemann_solvers[riemann_method] - _f = riemann_hllc(idir, myg.ng, - ivars.idens, ivars.ixmom, ivars.iymom, - ivars.iener, ivars.irhox, ivars.naux, - lower_solid, upper_solid, - gamma, U_l, U_r) + _f = riemannFunc(idir, myg.ng, + ivars.idens, ivars.ixmom, ivars.iymom, + ivars.iener, ivars.irhox, ivars.naux, + lower_solid, upper_solid, + gamma, U_l, U_r) # If riemann_method is not HLLC, then it outputs interface conserved states if riemann_method != "HLLC":