Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
ift
D2O
Commits
e6869c6f
Commit
e6869c6f
authored
Nov 18, 2016
by
theos
Browse files
hermitian attribute is now set correctly after abs(distributed_data_object).
parent
39440e74
Changes
2
Hide whitespace changes
Inline
Side-by-side
d2o/distributed_data_object.py
View file @
e6869c6f
...
...
@@ -693,6 +693,7 @@ class distributed_data_object(object):
temp_d2o
=
self
.
copy_empty
(
dtype
=
new_dtype
)
temp_d2o
.
set_local_data
(
data
=
self
.
get_local_data
().
__abs__
(),
copy
=
False
)
temp_d2o
.
hermitian
=
self
.
hermitian
return
temp_d2o
def
_builtin_helper
(
self
,
operator
,
other
,
inplace
=
False
):
...
...
d2o/version.py
View file @
e6869c6f
...
...
@@ -20,4 +20,4 @@
# 1) we don't load dependencies by storing it in __init__.py
# 2) we can import it in setup.py for the same reason
# 3) we can import it into your module module
__version__
=
'1.0.
4
'
__version__
=
'1.0.
5
'
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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