diff --git a/nifty/operators/fft_operator/transformations/gllmtransformation.py b/nifty/operators/fft_operator/transformations/gllmtransformation.py index a0e47652b85fc8f17adf1c08e1bed23bc4130782..7029f80eac7e05f7d967d5de3250665179a0037e 100644 --- a/nifty/operators/fft_operator/transformations/gllmtransformation.py +++ b/nifty/operators/fft_operator/transformations/gllmtransformation.py @@ -100,11 +100,6 @@ class GLLMTransformation(SlicingTransformation): super(GLLMTransformation, cls).check_codomain(domain, codomain) def _transformation_of_slice(self, inp, **kwargs): - if inp.dtype not in (np.float, np.complex): - self.logger.warn("The input array has dtype: %s. The FFT will " - "be performed at double precision." % - str(inp.dtype)) - nlat = self.domain.nlat nlon = self.domain.nlon lmax = self.codomain.lmax diff --git a/nifty/operators/fft_operator/transformations/hplmtransformation.py b/nifty/operators/fft_operator/transformations/hplmtransformation.py index 314caa008bc479aa6596ca658410da7fde233585..c8cb157108cbe4bbe7432a54e461870db370bfac 100644 --- a/nifty/operators/fft_operator/transformations/hplmtransformation.py +++ b/nifty/operators/fft_operator/transformations/hplmtransformation.py @@ -92,11 +92,6 @@ class HPLMTransformation(SlicingTransformation): super(HPLMTransformation, cls).check_codomain(domain, codomain) def _transformation_of_slice(self, inp, **kwargs): - if inp.dtype not in (np.float, np.complex): - self.logger.warn("The input array has dtype: %s. The FFT will " - "be performed at double precision." % - str(inp.dtype)) - lmax = self.codomain.lmax mmax = lmax diff --git a/nifty/operators/fft_operator/transformations/lmgltransformation.py b/nifty/operators/fft_operator/transformations/lmgltransformation.py index 5e743c4da5512902dedf85bdcf7c9353748c109d..44e5c54e8a6c3422fe31705865bd9614ac536a45 100644 --- a/nifty/operators/fft_operator/transformations/lmgltransformation.py +++ b/nifty/operators/fft_operator/transformations/lmgltransformation.py @@ -106,11 +106,6 @@ class LMGLTransformation(SlicingTransformation): super(LMGLTransformation, cls).check_codomain(domain, codomain) def _transformation_of_slice(self, inp, **kwargs): - if inp.dtype not in (np.float, np.complex): - self.logger.warn("The input array has dtype: %s. The FFT will " - "be performed at double precision." % - str(inp.dtype)) - nlat = self.codomain.nlat nlon = self.codomain.nlon lmax = self.domain.lmax diff --git a/nifty/operators/fft_operator/transformations/lmhptransformation.py b/nifty/operators/fft_operator/transformations/lmhptransformation.py index 6aa87e973ae1429e76d5eb8552d586a69ddea1c3..0e9d1e392ff1c14a7bb0e8c391b00cf8a0366e2e 100644 --- a/nifty/operators/fft_operator/transformations/lmhptransformation.py +++ b/nifty/operators/fft_operator/transformations/lmhptransformation.py @@ -94,11 +94,6 @@ class LMHPTransformation(SlicingTransformation): super(LMHPTransformation, cls).check_codomain(domain, codomain) def _transformation_of_slice(self, inp, **kwargs): - if inp.dtype not in (np.float, np.complex): - self.logger.warn("The input array has dtype: %s. The FFT will " - "be performed at double precision." % - str(inp.dtype)) - nside = self.codomain.nside lmax = self.domain.lmax mmax = lmax diff --git a/nifty/operators/fft_operator/transformations/rg_transforms.py b/nifty/operators/fft_operator/transformations/rg_transforms.py index acc072291e0081b4c608ecd524f0c488378ddef3..0ccdb22c5d7f95adde9c6b220e81aebc6abc8ff8 100644 --- a/nifty/operators/fft_operator/transformations/rg_transforms.py +++ b/nifty/operators/fft_operator/transformations/rg_transforms.py @@ -433,11 +433,6 @@ class FFTW(Transform): not all(axis in range(len(val.shape)) for axis in axes): raise ValueError("Provided axes does not match array shape") - #if val.dtype not in (np.float, np.complex): - # self.logger.warn("The input array has dtype: %s. The FFT will " - # "be performed at double precision." % - # str(val.dtype)) - # If the input is a numpy array we transform it locally if not isinstance(val, distributed_data_object): # Cast to a np.ndarray @@ -582,11 +577,6 @@ class NUMPYFFT(Transform): not all(axis in range(len(val.shape)) for axis in axes): raise ValueError("Provided axes does not match array shape") - if val.dtype not in (np.float, np.complex): - self.logger.warn("The input array has dtype: %s. The FFT will " - "be performed at double precision." % - str(val.dtype)) - return_val = val.copy_empty(global_shape=val.shape, dtype=np.complex)