Commit 22e1d389 authored by Theo Steininger's avatar Theo Steininger

Fixed occurrence of np.int8

parent 83b48c5c
Pipeline #14844 failed with stage
in 2 minutes and 56 seconds
...@@ -750,6 +750,8 @@ class distributed_data_object(Loggable, Versionable, object): ...@@ -750,6 +750,8 @@ class distributed_data_object(Loggable, Versionable, object):
# use common datatype for self and other # use common datatype for self and other
new_dtype = np.dtype(np.find_common_type((self.dtype,), new_dtype = np.dtype(np.find_common_type((self.dtype,),
(result_data.dtype,))) (result_data.dtype,)))
if new_dtype == np.int8:
new_dtype == np.int16
temp_d2o = self.copy_empty(dtype=new_dtype) temp_d2o = self.copy_empty(dtype=new_dtype)
# write the new data into the return-distributed_data_object # write the new data into the return-distributed_data_object
......
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