Skip to content

Commit a9327bf

Browse files
bugfix
1 parent 2db068d commit a9327bf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

comparisons.scad

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -455,7 +455,7 @@ function deduplicate(list, closed=false, eps=_EPSILON) =
455455
l = len(list),
456456
end = l-(closed?0:1)
457457
)
458-
is_string(list) ? chr([for (i=[0:1:l-1]) if (i==end || list[i] != list[(i+1)%l]) ord(list[i]])) :
458+
is_string(list) ? chr([for (i=[0:1:l-1]) if (i==end || list[i] != list[(i+1)%l]) ord(list[i])]) :
459459
eps==0 ? [for (i=[0:1:l-1]) if (i==end || list[i] != list[(i+1)%l]) list[i]] :
460460
[for (i=[0:1:l-1]) if (i==end || !approx(list[i], list[(i+1)%l], eps)) list[i]];
461461

0 commit comments

Comments
 (0)