diff --git a/src/util/_impl/_dedup_impl.scad b/src/util/_impl/_dedup_impl.scad index 6bb927d6..ba9af942 100644 --- a/src/util/_impl/_dedup_impl.scad +++ b/src/util/_impl/_dedup_impl.scad @@ -35,10 +35,10 @@ function _add(buckets, bucket, i_elem, b_idx) = function before_after(lt, pivot, leng, before = [], after = [], j = 1) = j == leng ? [before, after] : - let(cond = lt[j][0] < pivot[0]) + let(is_less = lt[j][0] < pivot[0]) before_after(lt, pivot, leng, - cond ? [each before, lt[j]] : before, - cond ? after : [each after, lt[j]], + is_less ? [each before, lt[j]] : before, + is_less ? after : [each after, lt[j]], j + 1 ); diff --git a/src/util/_impl/_sorted_impl.scad b/src/util/_impl/_sorted_impl.scad index 80259dd0..7d63d9b8 100644 --- a/src/util/_impl/_sorted_impl.scad +++ b/src/util/_impl/_sorted_impl.scad @@ -1,9 +1,9 @@ function before_after(lt, pivot, less, leng, before = [], after = [], j = 1) = j == leng ? [before, after] : - let(cond = less(lt[j], pivot)) + let(is_less = less(lt[j], pivot)) before_after(lt, pivot, less, leng, - cond ? [each before, lt[j]] : before, - cond ? after : [each after, lt[j]], + is_less ? [each before, lt[j]] : before, + is_less ? after : [each after, lt[j]], j + 1 );