diff --git a/lslopt/lslbasefuncs.py b/lslopt/lslbasefuncs.py index 5ba956e..35bc3e2 100644 --- a/lslopt/lslbasefuncs.py +++ b/lslopt/lslbasefuncs.py @@ -1125,6 +1125,7 @@ def llListReplaceList(lst, elems, start, end): if end == -1: end += L return lst[end+1:start] + elems if end == -1: end += L + # BUG: llListReplaceList([1,2,3,4],[5],-5,-5) should return [1,2,3,4] return lst[:start] + elems + lst[end+1:] def llListSort(lst, stride, asc):