Skip to content

Commit

Permalink
fix get_mean_row_col_for_index off by 2 bug
Browse files Browse the repository at this point in the history
  • Loading branch information
dwalton76 authored Mar 27, 2022
2 parents 4c458bd + f032c79 commit 2582e40
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rubikscubetracker/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -1304,7 +1304,7 @@ def get_mean_row_col_for_index(self, col_index, row_index):
total_Y += con.cY
candidates_Y += 1

elif con.row_index == row_index - 1:
elif con.row_index == row_index + 1:
total_next_Y += con.cY
candidates_next_Y += 1

Expand Down

0 comments on commit 2582e40

Please sign in to comment.