geometry: Fix guidelines reduces.

mesh
Pierre-Antoine Rouby 2023-04-17 14:00:51 +02:00
parent 634d0a4194
commit 8fdfd52ff1
1 changed files with 2 additions and 1 deletions

View File

@ -6,6 +6,7 @@ from time import time
from typing import List
from copy import deepcopy
from operator import itemgetter
from functools import reduce
from tools import flatten
@ -212,7 +213,7 @@ class Reach:
# Get incomplete guideline
incomplete = set(
reduce(
lambda acc, h: acc[1] + h[1],
lambda acc, h: acc + h,
map(
lambda l: list(set(l).symmetric_difference(guide_set)),
points_name