From 2b0f8bf2637a9a4c8623d5e6f95a0e9c9f7c7a11 Mon Sep 17 00:00:00 2001 From: mrg Date: Wed, 16 Dec 2020 16:57:29 -0800 Subject: [PATCH] Don't exit with error when source is target for maze router --- compiler/router/router.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/compiler/router/router.py b/compiler/router/router.py index a6df4f0b..bd99ab2c 100644 --- a/compiler/router/router.py +++ b/compiler/router/router.py @@ -1000,8 +1000,7 @@ class router(router_tech): # Double check source and taget are not same node, if so, we are done! for k, v in self.rg.map.items(): if v.source and v.target: - debug.error("Grid cell is source and target! {}".format(k)) - return False + return True # returns the path in tracks (path, cost) = self.rg.route(detour_scale)