columns fixes

This commit is contained in:
Adrian Mariano
2021-10-26 18:30:57 -04:00
parent a75a368dd5
commit b60123a886
4 changed files with 8 additions and 8 deletions

View File

@@ -1994,7 +1994,7 @@ function align_polygon(reference, poly, angles, cp, trans, return_ind=false) =
return_error=true
)
],
scores = columns(alignments,1),
scores = column(alignments,1),
minscore = min(scores),
minind = [for(i=idx(scores)) if (scores[i]<minscore+EPSILON) i],
dummy = is_def(angles) ? echo(best_angles = select(list(angles), minind)):0,