mirror of
https://github.com/fjosw/pyerrors.git
synced 2025-03-15 14:50:25 +01:00
_merge_idx now returns sorted lists
This commit is contained in:
parent
6cfa87eb15
commit
3288dfd148
1 changed files with 1 additions and 1 deletions
|
@ -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):
|
||||
|
|
Loading…
Add table
Reference in a new issue