From 025538cbf5a01a3aab25418bbd4fdc052144f9c8 Mon Sep 17 00:00:00 2001 From: Ben Wibking Date: Thu, 8 Feb 2024 21:08:19 -0500 Subject: [PATCH] Update planck_integral.hpp --- src/planck_integral.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/planck_integral.hpp b/src/planck_integral.hpp index 487cb11d6..fa84fce90 100644 --- a/src/planck_integral.hpp +++ b/src/planck_integral.hpp @@ -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_ \ No newline at end of file +#endif // PLANCKINTEGRAL_HPP_