mirror of https://gitlab.com/pamhyr/pamhyr2
geometry: Fix guidelines reduces.
parent
634d0a4194
commit
8fdfd52ff1
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue