mirror of https://github.com/VLSIDA/OpenRAM.git
Uniquify overlap points during segment overlap computation.
This commit is contained in:
parent
9b592ab432
commit
8217a84165
|
|
@ -511,7 +511,7 @@ class pin_layout:
|
||||||
elif other.contains(self):
|
elif other.contains(self):
|
||||||
return math.inf
|
return math.inf
|
||||||
else:
|
else:
|
||||||
intersections = self.compute_overlap_segment(other)
|
intersections = set(self.compute_overlap_segment(other))
|
||||||
# This is the common case where two pairs of edges overlap
|
# This is the common case where two pairs of edges overlap
|
||||||
# at two points, so just find the distance between those two points
|
# at two points, so just find the distance between those two points
|
||||||
if len(intersections) == 2:
|
if len(intersections) == 2:
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue