You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Because assignment `a[tind] = func(...)` amounts to overwriting
data in array `a`, a copy is needed, if not already made.
```ipython
In [1]: import numpy as np, mkl_fft
In [2]: x = np.random.randn(4,4,4)
In [3]: xc = x.copy()
In [4]: y = mkl_fft._numpy_fft.rfftn(x)
In [5]: yc = y.copy()
In [6]: z = mkl_fft._numpy_fft.irfftn(y)
In [7]: np.allclose(y, yc)
Out[7]: True
In [8]: np.allclose(z, x)
Out[8]: True
```
0 commit comments