[Numpy-discussion] numpy.fft.irfftn fails apparently unexpectedly
Henry Gomersall
heng at cantab.net
Tue Feb 7 18:09:00 EST 2012
On Tue, 2012-02-07 at 12:26 -0800, Warren Focke wrote:
> > Is this a bug I should register?
>
> Yes.
>
> It should work right if you replace
> s[axes[-1]] = (s[axes[-1]] - 1) * 2
> with
> s[-1] = (a.shape[axes[-1]] - 1) * 2
> but I'm not really in a position to test it right now.
I can confirm that seems to solve the problem. Still want a bug report?
Cheers,
Henry
More information about the NumPy-Discussion
mailing list