diff --git a/nifty/operators/smoothing_operator/fft_smoothing_operator.py b/nifty/operators/smoothing_operator/fft_smoothing_operator.py index 239632615003a04b690b5c2780dcee7a7d6c0fa1..f9e825db33757fb058ae909b94934cdeab4e39f4 100644 --- a/nifty/operators/smoothing_operator/fft_smoothing_operator.py +++ b/nifty/operators/smoothing_operator/fft_smoothing_operator.py @@ -70,7 +70,8 @@ class FFTSmoothingOperator(SmoothingOperator): def _get_transformator(self, dtype): if dtype not in self._transformator_cache: - self._transformator_cache[dtype] = FFTOperator(self.domain, - domain_dtype=dtype, - target=np.complex) + self._transformator_cache[dtype] = FFTOperator( + self.domain, + domain_dtype=dtype, + target_dtype=np.complex) return self._transformator_cache[dtype]