Commit 83b48c5c authored by Theo Steininger's avatar Theo Steininger

Fixed bug in disperse_data_to_slices

parent ad862d52
Pipeline #14842 failed with stage
in 3 minutes and 15 seconds
......@@ -960,7 +960,8 @@ class _slicing_distributor(distributor):
localized_from_start = from_slices_start + from_step * o[r]
localized_from_stop = localized_from_start + from_step * l
if localized_from_stop < 0:
if localized_from_stop < 0 and \
localized_from_stop != localized_from_start:
localized_from_stop = None
localized_from_slice = (slice(localized_from_start,
......
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