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

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):
# use common datatype for self and other
new_dtype = np.dtype(np.find_common_type((self.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
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