Commit e6869c6f authored by theos's avatar theos

hermitian attribute is now set correctly after abs(distributed_data_object).

parent 39440e74
...@@ -693,6 +693,7 @@ class distributed_data_object(object): ...@@ -693,6 +693,7 @@ class distributed_data_object(object):
temp_d2o = self.copy_empty(dtype=new_dtype) temp_d2o = self.copy_empty(dtype=new_dtype)
temp_d2o.set_local_data(data=self.get_local_data().__abs__(), temp_d2o.set_local_data(data=self.get_local_data().__abs__(),
copy=False) copy=False)
temp_d2o.hermitian = self.hermitian
return temp_d2o return temp_d2o
def _builtin_helper(self, operator, other, inplace=False): def _builtin_helper(self, operator, other, inplace=False):
......
...@@ -20,4 +20,4 @@ ...@@ -20,4 +20,4 @@
# 1) we don't load dependencies by storing it in __init__.py # 1) we don't load dependencies by storing it in __init__.py
# 2) we can import it in setup.py for the same reason # 2) we can import it in setup.py for the same reason
# 3) we can import it into your module module # 3) we can import it into your module module
__version__ = '1.0.4' __version__ = '1.0.5'
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