From 3f6c9b5194581d509e7da9faff12632c02092c22 Mon Sep 17 00:00:00 2001 From: rhaas Date: Mon, 13 May 2013 17:21:51 +0000 Subject: GRHydro: fix use of uninitialized variable in eigenproblem_leftright this is only used when doing flux split FD which is not the default. git-svn-id: http://svn.einsteintoolkit.org/cactus/EinsteinEvolve/GRHydro/trunk@515 c83d129a-5a75-4d5a-9c4d-ed3a5855bf45 --- src/GRHydro_Eigenproblem.F90 | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/GRHydro_Eigenproblem.F90 b/src/GRHydro_Eigenproblem.F90 index 4981508..90c46f8 100644 --- a/src/GRHydro_Eigenproblem.F90 +++ b/src/GRHydro_Eigenproblem.F90 @@ -618,6 +618,9 @@ subroutine eigenproblem_leftright(handle,rho,velx,vely,velz,eps,& call EOS_Omni_cs2(handle,keytemp,GRHydro_eos_rf_prec,n,& rho,eps,xtemp,xye,cs2,keyerr,anyerr) + call EOS_Omni_DPressByDEps(handle,keytemp,GRHydro_eos_rf_prec,n,& + rho,eps,xtemp,xye,dpdeps,keyerr,anyerr) + ! if (cs2<0) cs2=0 ! this does not modify the roe crashing problem with shocktube enthalpy = one + eps + press / rho -- cgit v1.2.3