Closed prisae closed 2 years ago
MWE
from empymod import dipole
dipole([0, 0, 1], [1, 0, -1], 0, [1, 2], 1)
Works with numba<0.54
, fails with a ZeroDivisionError
with numba>=0.54
.
It seems to come from fastmath=True
for empymod.kernel.wavenumber
, which seem to have changed how it handles division by zero or similar.
There seems to be a problem with
numba>=0.54.0
andempymod
.I have not yet figured out what the issue is. For now, if you run into problems with
empymod
, please try to downgrade tonumba<0.54.0
and see if the issue persists.