Closed arietu closed 1 year ago
I forgot to mention that this happens when mode='byot' where I add my own trav and amp arrays.
and everything works fine when engine='numpy'
Hello @arietu, this is likely due to the fact that you provide some of the amplitudes with zero.
Without a full error report I cannot tell exactly but this is what I suspect. It may work fine with engine=numpy as numpy let’s you do a division by zero and returns inf (or nan) while numba raises an error
the problem was due to the following line of code: aperture = abs(sixisrcrec - rixisrcrec) / iz
where 'iz' can be zero sometimes.
Right I see. This issue was recently fixed as part of a larger PR (it is currently until review and will be merged soon :) )
When I apply forward Kirchoff operator with dynamic =True and engine = "numba" an error appears at the "_matvec" method.