Fix bug in llListSortStrided producing incorrect results sometimes
It used `a = lst[i]` instead of taking the stride index into account (that is, it should have been `a = lst[i+idx]`). Anyway, the exact same value is in b, so use that instead. Test case by Tapple Gao.
This commit is contained in:
@@ -49,4 +49,17 @@
|
||||
, "B"
|
||||
, 1
|
||||
, "C"
|
||||
, "T10"
|
||||
, 1
|
||||
, "a"
|
||||
, 0
|
||||
, "a"
|
||||
, 0
|
||||
, "b"
|
||||
, 1
|
||||
, "b"
|
||||
, 1
|
||||
, "c"
|
||||
, 0
|
||||
, "c"
|
||||
]
|
||||
Reference in New Issue
Block a user