Commit 82226ebc authored by theos's avatar theos
Browse files

Fixed a bug in d2o.copy where still .inject was used.

parent 5658335b
......@@ -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)
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
Supports Markdown
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