mirror of
https://github.com/BelfrySCAD/BOSL2.git
synced 2025-01-01 09:49:45 +00:00
Revert arrays.scad change
This commit is contained in:
parent
f22d24ee15
commit
8cdd10fd82
1 changed files with 1 additions and 1 deletions
|
@ -90,7 +90,7 @@ function select(list, start, end) =
|
|||
: end==undef
|
||||
? is_num(start)
|
||||
? list[ (start%l+l)%l ]
|
||||
: assert( is_vector(start) || is_range(start), "Invalid start parameter")
|
||||
: assert( is_list(start) || is_range(start), "Invalid start parameter")
|
||||
[for (i=start) list[ (i%l+l)%l ] ]
|
||||
: assert(is_finite(start), "When `end` is given, `start` parameter should be a number.")
|
||||
assert(is_finite(end), "Invalid end parameter.")
|
||||
|
|
Loading…
Reference in a new issue