From 0b38d7b546d2f8a90b8b3a448e6700dcd7f0c394 Mon Sep 17 00:00:00 2001 From: Revar Desmera Date: Wed, 6 Nov 2019 23:42:00 -0800 Subject: [PATCH] Fixed error in shuffle() --- arrays.scad | 2 +- version.scad | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/arrays.scad b/arrays.scad index aa3f9a2..046fa8d 100644 --- a/arrays.scad +++ b/arrays.scad @@ -512,7 +512,7 @@ function enumerate(l,idx=undef) = // Description: // Shuffles the input list into random order. function shuffle(list) = - assert(is_list(l)||is_string(list)) + assert(is_list(list)||is_string(list)) len(list)<=1 ? list : let ( rval = rands(0,1,len(list)), diff --git a/version.scad b/version.scad index 52095e0..45e0573 100644 --- a/version.scad +++ b/version.scad @@ -8,7 +8,7 @@ ////////////////////////////////////////////////////////////////////// -BOSL_VERSION = [2,0,13]; +BOSL_VERSION = [2,0,14]; // Section: BOSL Library Version Functions