include failed nets in congestion map
This commit is contained in:
parent
f505694523
commit
d2d619fe1f
1 changed files with 12 additions and 13 deletions
|
|
@ -264,8 +264,7 @@ class PathFinder:
|
||||||
abs(last_p.y - target.y) < 1e-6 and
|
abs(last_p.y - target.y) < 1e-6 and
|
||||||
abs(last_p.orientation - target.orientation) < 0.1)
|
abs(last_p.orientation - target.orientation) < 0.1)
|
||||||
|
|
||||||
# 3. Add to index ONLY if it reached the target
|
# 3. Add to index (even if partial) so other nets negotiate around it
|
||||||
if reached:
|
|
||||||
all_geoms = []
|
all_geoms = []
|
||||||
all_dilated = []
|
all_dilated = []
|
||||||
for res in path:
|
for res in path:
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue