Commit 5fc303ca authored by theos's avatar theos
Browse files

Fixed a dtype bug in

parent 0fcd7cdc
......@@ -19,8 +19,7 @@ class SlicingTransformation(Transformation):
for slice_list in utilities.get_slice_list(val.shape, axes):
if return_val is None:
return_val = val.copy_empty(dtype=self.codomain.dtype,
return_val = val.copy_empty(global_shape=return_shape)
data = val.get_data(slice_list, copy=False)
data = data.get_full_data()
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