From 0f78d3bdc6ef6f52326ea2e406115c4754c48376 Mon Sep 17 00:00:00 2001 From: Revar Desmera Date: Mon, 2 Mar 2020 21:26:59 -0800 Subject: [PATCH] Removed accidental redundant is_consistent() implementation. --- arrays.scad | 14 -------------- version.scad | 2 +- 2 files changed, 1 insertion(+), 15 deletions(-) diff --git a/arrays.scad b/arrays.scad index c3618346..d04bd13c 100644 --- a/arrays.scad +++ b/arrays.scad @@ -89,20 +89,6 @@ function slice(arr,st,end) = let( function in_list(x,l,idx=undef) = search([x], l, num_returns_per_match=1, index_col_num=idx) != [[]]; -// Function: is_consistent() -// Usage: -// is_consistent(v); -// Description: -// Returns true if all items of the given list are the same size. -// Example: -// is_consistent([3,4,5,6]); // Returns: true -// is_consistent([[3,4],[4,5],[5,6]]); // Returns: true -// is_consistent([[3,4,5],[4,5,6],[5,6,7]]); // Returns: true -// is_consistent([[3,4,5],[4,5],[5,6,7]]); // Returns: false -// is_consistent([[3,4,5],[4,undef,6],[5,6,7]]); // Returns: false -function is_consistent(v) = v==[] || is_list_of(v, v[0]); - - // Function: min_index() // Usage: // min_index(vals,[all]); diff --git a/version.scad b/version.scad index dbd59ab0..e38ea3f7 100644 --- a/version.scad +++ b/version.scad @@ -8,7 +8,7 @@ ////////////////////////////////////////////////////////////////////// -BOSL_VERSION = [2,0,147]; +BOSL_VERSION = [2,0,148]; // Section: BOSL Library Version Functions