Skip to content

Commit

Permalink
silence an unused var warning (#1262)
Browse files Browse the repository at this point in the history
  • Loading branch information
zingale authored Jul 7, 2023
1 parent a1d3dac commit b0b5c19
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions EOS/helmholtz/actual_eos.H
Original file line number Diff line number Diff line change
Expand Up @@ -1486,6 +1486,8 @@ template <typename I>
AMREX_GPU_HOST_DEVICE AMREX_INLINE
bool is_input_valid (I input)
{
amrex::ignore_unused(input);

static_assert(std::is_same<I, eos_input_t>::value, "input must be an eos_input_t");

bool valid = true;
Expand Down

0 comments on commit b0b5c19

Please sign in to comment.