Skip to content

Commit

Permalink
do not reverse when key values are identical, #35
Browse files Browse the repository at this point in the history
  • Loading branch information
fstwn committed Jul 6, 2020
1 parent de9fdb6 commit 9499390
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/Cockatoo/KnitNetwork.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 9499390

Please sign in to comment.