From 7b47e593a8a0d3607ebaf0398a1f0b7a3b41b090 Mon Sep 17 00:00:00 2001 From: Josh Shields Date: Wed, 11 Dec 2024 11:56:42 -0500 Subject: [PATCH] use fasthmath --- stardis/radiation_field/opacities/opacities_solvers/base.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stardis/radiation_field/opacities/opacities_solvers/base.py b/stardis/radiation_field/opacities/opacities_solvers/base.py index a4bd37e9..aff1ab07 100644 --- a/stardis/radiation_field/opacities/opacities_solvers/base.py +++ b/stardis/radiation_field/opacities/opacities_solvers/base.py @@ -484,7 +484,7 @@ def calc_molecular_alpha_line_at_nu( return alpha_line_at_nu, gammas, doppler_widths -@numba.njit(parallel=True) +@numba.njit(parallel=True, fastmath=True) def calc_alan_entries( no_of_depth_points, tracing_nus_values,