Skip to content

Commit

Permalink
Update planck_integral.hpp
Browse files Browse the repository at this point in the history
  • Loading branch information
BenWibking authored Feb 9, 2024
1 parent 09e957d commit 025538c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/planck_integral.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -253,9 +253,9 @@ AMREX_GPU_HOST_DEVICE AMREX_FORCE_INLINE auto integrate_planck_from_0_to_x(const
} else {
y = interpolate_planck_integral(logx);
}
assert(!isnan(y));
assert(!std::isnan(y));
assert(y <= 1.);
return y;
}

#endif // PLANCKINTEGRAL_HPP_
#endif // PLANCKINTEGRAL_HPP_

0 comments on commit 025538c

Please sign in to comment.