Skip to content

Commit 4c36a70

Browse files
fix(library): keep channel search bounded
1 parent fee0cac commit 4c36a70

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

library/lib/utils/geometry/orthogonalRouter.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1859,7 +1859,7 @@ export const routeAroundObstaclesBetweenCandidates = (
18591859
if (
18601860
nearestLo !== Infinity &&
18611861
nearestHi !== Infinity &&
1862-
nearestLo + nearestHi <= 4 * idealClearance
1862+
nearestLo + nearestHi < 4 * idealClearance
18631863
) {
18641864
const imbalance =
18651865
Math.abs(nearestLo - nearestHi) / (nearestLo + nearestHi)

0 commit comments

Comments
 (0)