Closed ostueker closed 9 months ago
By the way: Using -ffastmath
with Python can have undesired side-effects:
https://moyix.blogspot.com/2022/09/someones-been-messing-with-my-subnormals.html
@ostueker Thanks Oliver for taking a look at this, and for using our issue tracker to post about it.
This is a good reminder for us about Numba, as we should be more explicit about when we need nopython=True
. (Also to get rid of those deprecation warnings.)
And actually I wasn't aware of the -ffastmath
issue. Something we will need to investigate also. Thanks again.
Just as an FYI:
While deploying the sarracen==1.2.2 wheel to the Compute Canada Software stack I noticed the following deprecation warning when using it with numba 0.57.0:
It appears that some default behaviour will change in an upcoming
Numba 0.59.0
.If I understand the message correctly, chaning line 15 of cubic_spline.py to
@jit(fastmath=True, nopython=False)
should silence the warning and retain consistent behaviour once Numba 0.59.0 is released.Steps to reproduce: