Skip to content

Commit

Permalink
Actually... the problem was a mis-placed PORTABLE function decorator
Browse files Browse the repository at this point in the history
  • Loading branch information
jhp-lanl committed Mar 3, 2025
1 parent c667d49 commit c6fa446
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions test/test_modifier_floored_energy.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,7 @@ using EOS =
// lookup for a set of EOS. The density is at rho_ref * rho_factor while the
// temperature for the lookup is T_lookup. The energy for the lookup is given by
// e(rho, T_lookup) - e_offset
PORTABLE_INLINE_FUNCTION
std::vector<Real> diff_pressures(const int n_eos, EOS *v_EOS, const Real T_lookup,
auto diff_pressures(const int n_eos, EOS *v_EOS, const Real T_lookup,
const Real e_offset = 0., const Real rho_factor = 1.2) {
// Create storage for relative diffs
std::vector<Real> P_rdiffs(n_eos); // zero initialized
Expand Down

0 comments on commit c6fa446

Please sign in to comment.