mirror of
https://github.com/BelfrySCAD/BOSL2.git
synced 2025-01-29 15:59:36 +00:00
Bugfix for variable error in unique()
This commit is contained in:
parent
25fe326d2a
commit
f838e8a1e2
2 changed files with 2 additions and 2 deletions
|
@ -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)
|
||||
) [
|
||||
|
|
|
@ -8,7 +8,7 @@
|
|||
//////////////////////////////////////////////////////////////////////
|
||||
|
||||
|
||||
BOSL_VERSION = [2,0,130];
|
||||
BOSL_VERSION = [2,0,131];
|
||||
|
||||
|
||||
// Section: BOSL Library Version Functions
|
||||
|
|
Loading…
Reference in a new issue