We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
3D transforms with a small index-2 lengths encounter AssertionError in pencil.py (link to line).
AssertionError
pencil.py
import numpy as np from mpi4py import MPI from mpi4py_fft import PFFT, newDistArray # No assertion error for (5, 5, 3). shape = np.array((5, 5, 2), dtype=int) fft = PFFT(MPI.COMM_WORLD, shape=shape, dtype=float) u = newDistArray(fft, forward_output=False) u[...] = np.random.random(u.shape).astype(u.dtype) u_hat = newDistArray(fft, forward_output=True) # AssertionError fft.forward(u, u_hat)
An array with dimensions (5, 5, 3) is fine, but (5, 5, 2) doesn't work.
(5, 5, 3)
(5, 5, 2)
I am using version 2.0.4.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
3D transforms with a small index-2 lengths encounter
AssertionError
inpencil.py
(link to line).An array with dimensions
(5, 5, 3)
is fine, but(5, 5, 2)
doesn't work.I am using version 2.0.4.
The text was updated successfully, but these errors were encountered: