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
22e1d389
Commit
22e1d389
authored
Jul 13, 2017
by
Theo Steininger
Browse files
Fixed occurrence of np.int8
parent
83b48c5c
Pipeline
#14844
failed with stage
in 2 minutes and 56 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
d2o/distributed_data_object.py
View file @
22e1d389
...
...
@@ -750,6 +750,8 @@ class distributed_data_object(Loggable, Versionable, object):
# use common datatype for self and other
new_dtype
=
np
.
dtype
(
np
.
find_common_type
((
self
.
dtype
,),
(
result_data
.
dtype
,)))
if
new_dtype
==
np
.
int8
:
new_dtype
==
np
.
int16
temp_d2o
=
self
.
copy_empty
(
dtype
=
new_dtype
)
# write the new data into the return-distributed_data_object
...
...
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