Skip to content

Commit

Permalink
AsterX: update eos call to use non-const eps
Browse files Browse the repository at this point in the history
  • Loading branch information
jaykalinani committed Jul 26, 2024
1 parent 9c0f04c commit f34fc0d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion AsterX/src/fluxes.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -253,7 +253,7 @@ void CalcFlux(CCTK_ARGUMENTS, EOSType *eos_3p) {

// Ideal gas case {
/* eps for ideal gas EOS */
const vec<CCTK_REAL, 2> eps_rc([&](int f) ARITH_INLINE {
vec<CCTK_REAL, 2> eps_rc([&](int f) ARITH_INLINE {
return eos_3p->eps_from_valid_rho_press_ye(rho_rc(f), press_rc(f),
ye_rc(f));
});
Expand Down

0 comments on commit f34fc0d

Please sign in to comment.