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 May 20, 2020
1 parent 5bbfe83 commit 8623146
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 8623146

Please sign in to comment.