From 86231467a346e6def062a9f72f142fa57c73655c Mon Sep 17 00:00:00 2001 From: fstwn Date: Wed, 20 May 2020 17:47:16 +0200 Subject: [PATCH] do not reverse when key values are identical, #35 --- modules/Cockatoo/KnitNetwork.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/Cockatoo/KnitNetwork.py b/modules/Cockatoo/KnitNetwork.py index 282020a..b489f74 100644 --- a/modules/Cockatoo/KnitNetwork.py +++ b/modules/Cockatoo/KnitNetwork.py @@ -2259,7 +2259,7 @@ def CreateFinalWarpConnections(self, max_connections=4, include_end_nodes=True, # execute connection to target - if cckey < tckey: + if cckey <= tckey: rev = False else: rev = True