1
0
mirror of https://github.com/JustinSDK/dotSCAD.git synced 2025-03-21 22:49:44 +01:00

refactor: return coord directly

This commit is contained in:
Justin Lin 2022-03-21 11:37:02 +08:00
parent fdc8e2f29a
commit f3b3029d01

View File

@ -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) =