Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
ift
NIFTy
Commits
82226ebc
Commit
82226ebc
authored
Mar 08, 2016
by
theos
Browse files
Fixed a bug in d2o.copy where still .inject was used.
parent
5658335b
Changes
1
Hide whitespace changes
Inline
Side-by-side
nifty_mpi_data.py
View file @
82226ebc
...
...
@@ -325,7 +325,7 @@ class distributed_data_object(object):
distribution_strategy
==
self
.
distribution_strategy
:
temp_d2o
.
set_local_data
(
self
.
get_local_data
(),
copy
=
True
)
else
:
temp_d2o
.
inject
((
slice
(
None
),),
self
,
(
slice
(
None
),))
temp_d2o
.
set_full_data
(
self
,
hermitian
=
self
.
hermitian
)
temp_d2o
.
hermitian
=
self
.
hermitian
return
temp_d2o
...
...
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