Commit 2aa97ad8 authored by theos's avatar theos
Browse files

Removed an unnecessary array copy in obj.copy()

parent 23345ccb
......@@ -295,7 +295,7 @@ class distributed_data_object(object):
if distribution_strategy is None or \
distribution_strategy == self.distribution_strategy:
temp_d2o.set_local_data(self.get_local_data(), copy=True)
temp_d2o.set_local_data(self.get_local_data(copy=False), copy=True)
temp_d2o.set_full_data(self, hermitian=self.hermitian)
temp_d2o.hermitian = self.hermitian
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