mirror of
https://gitlab.com/pamhyr/pamhyr2.git
synced 2026-10-30 03:20:41 +01:00
geometry: Fix guidelines reduces.
This commit is contained in:
1 parent
634d0a4194
commit
8fdfd52ff1
1 file changed
+2
-1
@@ -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
|
||||
|
||||
Reference in new issue
Block a user