mirror of
https://github.com/revarbat/BOSL2.git
synced 2025-01-16 13:50:23 +01:00
Bugfix for variable error in unique()
This commit is contained in:
parent
25fe326d2a
commit
f838e8a1e2
@ -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…
x
Reference in New Issue
Block a user