From f3b3029d01f407dd1bff36a9c08ca1e54db450db Mon Sep 17 00:00:00 2001 From: Justin Lin Date: Mon, 21 Mar 2022 11:37:02 +0800 Subject: [PATCH] refactor: return coord directly --- src/experimental/_impl/_tiles_wfc_impl.scad | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/experimental/_impl/_tiles_wfc_impl.scad b/src/experimental/_impl/_tiles_wfc_impl.scad index f9b21f23..102824db 100644 --- a/src/experimental/_impl/_tiles_wfc_impl.scad +++ b/src/experimental/_impl/_tiles_wfc_impl.scad @@ -110,7 +110,7 @@ function wf_not_collapsed_coords(wf, notCollaspedCoords) = ] : [ for(coord = notCollaspedCoords) - if(len(wf_eigenstates_at(wf, coord.x, coord.y)) != 1) [coord.x, coord.y] + if(len(wf_eigenstates_at(wf, coord.x, coord.y)) != 1) coord ]; function wf_coord_min_entropy(wf, notCollaspedCoords) =