_merge_idx now returns sorted lists

This commit is contained in:
Simon Kuberski 2022-02-23 17:31:18 +01:00
parent 6cfa87eb15
commit 3288dfd148

View file

@ -971,7 +971,7 @@ def _merge_idx(idl):
idstep = min([idx.step for idx in idl])
return range(idstart, idstop, idstep)
return list(set().union(*idl))
return sorted(set().union(*idl))
def _expand_deltas_for_merge(deltas, idx, shape, new_idx):