Commit 09f8ee21 authored by theos's avatar theos
Browse files

Fixed a typo in nifty_fft.py

parent 144b6fef
......@@ -505,7 +505,7 @@ class FFTWTransformInfo(object):
# will get a global minus. Store the sign to correct it.
self.sign = (-1) ** np.sum(np.array(domain.paradict['zerocenter']) *
np.array(codomain.paradict['zerocenter']) *
(np.array(domain.get_shape()) // 2 % 2))
(np.array(domain.shape) // 2 % 2))
@property
def cmask_domain(self):
......@@ -544,7 +544,7 @@ class FFTWLocalTransformInfo(FFTWTransformInfo):
if codomain.harmonic:
self._fftw_interface = pyfftw.interfaces.numpy_fft.fftn
else:
self._fftw_interface = pyfftw.interfaces.numpy_fftn.ifftn
self._fftw_interface = pyfftw.interfaces.numpy_fft.ifftn
@property
def fftw_interface(self):
......
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