Skip to content

Commit 337cb5a

Browse files
committed
Fix typo
1 parent 7a74823 commit 337cb5a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

wordle/solver.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@ def recommend(self, max_alternatives: int = 5) -> WordRecommendations:
143143
if self.mode == "win-percentage":
144144
self.words = _rank_by_win_percentage(self.words)
145145
elif self.mode == "turns-to-win":
146-
self.words == _rank_by_turns_to_win(self.words)
146+
self.words = _rank_by_turns_to_win(self.words)
147147
elif self.mode == "probability":
148148
self.words = _rank_by_chain_prob(self.words)
149149
elif self.mode == "avg-split":

0 commit comments

Comments
 (0)