Skip to content

Commit

Permalink
seems to work as a fix for #35 but needs further testing and verifica…
Browse files Browse the repository at this point in the history
…tion
  • Loading branch information
fstwn committed Jul 6, 2020
1 parent c5e94a2 commit a722191
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions modules/Cockatoo/KnitNetwork.py
Original file line number Diff line number Diff line change
Expand Up @@ -2361,10 +2361,13 @@ def CreateFinalWarpConnections(self, max_connections=4, include_end_nodes=True,
print("End of window: {}".format(end_of_window))

# execute connection
if cckey > tckey:
rev = True
else:
if cckey < tckey:
rev = False
else:
rev = True

print(cckey, tckey)

self._create_second_pass_warp_connection(
current_chain_nodes,
k,
Expand Down

0 comments on commit a722191

Please sign in to comment.