In my code I am using scipy.signal.correlate
with 1D arrays but it gives me a different result on Windows 11 and on Ubuntu.
The Linux's result should be the right one, since, after some further calculations, it is realistic.
Following the path of the variables it seems that the culprit is multiarray.correlate
, since the value of all the variables is equal for the 2 OSs until that call in numeric.py
Some specifications: it uses mode full
and method auto
, it ends up using the method direct
and so, calling np.convolve
and then multiarray.correlate
.
Why is this happening and how can I get the same result across OSs?