Commit 54487c62 authored by Jait Dixit's avatar Jait Dixit
Browse files

Fix local_val to contain copy instead view

parent ea51586f
Pipeline #3414 skipped
...@@ -239,7 +239,7 @@ class FFTW(FFT): ...@@ -239,7 +239,7 @@ class FFTW(FFT):
# If the input is a numpy array we transform it locally # If the input is a numpy array we transform it locally
if not isinstance(val, distributed_data_object): if not isinstance(val, distributed_data_object):
# Copy data for local manipulation # Copy data for local manipulation
local_val = val[:] local_val = np.copy(val)
# Create domain and codomain centering mask # Create domain and codomain centering mask
domain_centering_mask = self.get_centering_mask( domain_centering_mask = self.get_centering_mask(
......
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