Verify route continuity and simplify automatic search setup
This commit is contained in:
parent
c200d0f7c1
commit
def1e4ea1d
1 changed files with 489 additions and 103 deletions
|
|
@ -128,7 +128,7 @@ def bundle_turnaround_candidates(
|
|||
path = materialize_path_seed(
|
||||
proposal.initial_paths[net.net_id], start=net.start, net_width=net.width, search=search, clearance=problem.clearance
|
||||
)
|
||||
return tuple((round(x), round(y)) for x, y in export_waypoints(path))
|
||||
return tuple((round(x), round(y)) for x, y in export_waypoints(path or ()))
|
||||
|
||||
shelf_points, return_points = points_for(shelf), points_for(returning)
|
||||
horizontals = [i for i, (a, b) in enumerate(pairwise(shelf_points)) if a[1] == b[1]]
|
||||
|
|
|
|||
Loading…
Reference in a new issue