Commit deeff6f9 authored by Martin Reinecke's avatar Martin Reinecke
Browse files

fix

parent 32b85405
Pipeline #18167 passed with stage
in 5 minutes and 32 seconds
......@@ -47,7 +47,7 @@ class RGRGTransformation(Transformation):
def _hartley(a, axes=None):
# Check if the axes provided are valid given the shape
if axes is not None and \
not all(axis in range(len(val.shape)) for axis in axes):
not all(axis in range(len(a.shape)) for axis in axes):
raise ValueError("Provided axes does not match array shape")
from pyfftw.interfaces.numpy_fft import rfftn
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment