remove unnecessary check/copy
_fftn ensures that inputs to _exec_fftn will always be contiguous
@@ -356,9 +356,6 @@ def _exec_fftn(a, direction, value_type, norm, axes, overwrite_x,
if fft_type not in [cufft.CUFFT_C2C, cufft.CUFFT_Z2Z]:
raise NotImplementedError('Only C2C and Z2Z are supported.')
- if a.base is not None and not a.flags.forc:
- a = a.copy(order='A')
-
if a.flags.c_contiguous:
order = 'C'
elif a.flags.f_contiguous:
