Bugfix for variable error in unique()

This commit is contained in:
Revar Desmera 2020-02-28 21:32:57 -08:00
parent 25fe326d2a
commit f838e8a1e2
2 changed files with 2 additions and 2 deletions

View File

@ -778,7 +778,7 @@ function sortidx(list, idx=undef) =
// Arguments:
// arr = The list to uniquify.
function unique(arr) =
assert(is_list(arr)||is_string(list))
assert(is_list(arr)||is_string(arr))
len(arr)<=1? arr : let(
sorted = sort(arr)
) [

View File

@ -8,7 +8,7 @@
//////////////////////////////////////////////////////////////////////
BOSL_VERSION = [2,0,130];
BOSL_VERSION = [2,0,131];
// Section: BOSL Library Version Functions