diff --git a/lists.scad b/lists.scad index 1d220ae..7b8d94c 100644 --- a/lists.scad +++ b/lists.scad @@ -246,7 +246,7 @@ function select(list, start, end) = function slice(list,start=0,end=-1) = assert(is_list(list)) assert(is_int(start)) - assert(is_int(eend)) + assert(is_int(end)) !list? [] : let( l = len(list),