Skip to content

Commit

Permalink
diff_pressures can't have an auto return type
Browse files Browse the repository at this point in the history
  • Loading branch information
jhp-lanl committed Mar 4, 2025
1 parent c6fa446 commit e97890a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/test_modifier_floored_energy.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +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
auto diff_pressures(const int n_eos, EOS *v_EOS, const Real T_lookup,
std::vector<Real> 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 e97890a

Please sign in to comment.