Skip to content

Commit

Permalink
Fix typo in optimize_order (Fixes #16)
Browse files Browse the repository at this point in the history
  • Loading branch information
puzzlet committed Mar 30, 2024
1 parent b66f488 commit a8b5bdb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion aheui/compile.py
Original file line number Diff line number Diff line change
Expand Up @@ -579,7 +579,7 @@ def optimize_order(self):
b1 b2 b3 x b4
"""
size = ix - i + 1
diff = f - size
diff = f - ix
for label, dest in self.label_map.items():
if i <= dest <= ix: # b2
self.label_map[label] += diff - 1
Expand Down

0 comments on commit a8b5bdb

Please sign in to comment.