Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
On Thursday, 7th July from 1 to 3 pm there will be a maintenance with a short downtime of GitLab.
Open sidebar
ift
NIFTy
Commits
54487c62
Commit
54487c62
authored
May 20, 2016
by
Jait Dixit
Browse files
Fix local_val to contain copy instead view
parent
ea51586f
Pipeline
#3414
skipped
Changes
1
Pipelines
1
Show whitespace changes
Inline
Side-by-side
rg/nifty_fft.py
View file @
54487c62
...
...
@@ -239,7 +239,7 @@ class FFTW(FFT):
# If the input is a numpy array we transform it locally
if
not
isinstance
(
val
,
distributed_data_object
):
# Copy data for local manipulation
local_val
=
val
[:]
local_val
=
np
.
copy
(
val
)
# Create domain and codomain centering mask
domain_centering_mask
=
self
.
get_centering_mask
(
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment