Skip to content

Commit

Permalink
remove ASSERT
Browse files Browse the repository at this point in the history
  • Loading branch information
psharda committed Jul 27, 2023
1 parent a5d2714 commit 8146b4e
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/hydro_system.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -233,7 +233,6 @@ void HydroSystem<problem_t>::ComputeMaxSignalSpeed(amrex::Array4<const amrex::Re
cs = cs_iso_;
} else {
const auto P = ComputePressure(cons, i, j, k);
AMREX_ASSERT(!std::isnan(P));
cs = ComputeSoundSpeed(cons, i, j, k);
}
AMREX_ASSERT(cs > 0.);
Expand Down

0 comments on commit 8146b4e

Please sign in to comment.