Compare commits

..

1 commit

Author SHA1 Message Date
a59b847675 fix(naive): make the naive solver work with a winrate of seemingly over 98%
Some checks failed
cargo devel CI / cargo CI (push) Has been cancelled
2024-08-02 16:57:47 +02:00

View file

@ -88,7 +88,7 @@ impl<'wl, WL: WordList> Solver<'wl, WL> for NaiveSolver<'wl, WL> {
if !game.responses().is_empty() if !game.responses().is_empty()
&& !state.has_all_known_contained(&solution_candidate.0) && !state.has_all_known_contained(&solution_candidate.0)
{ {
trace!("known cont:{:#?}", state.get_all_known_contained()); debug!("known cont:{:#?}", state.get_all_known_contained());
return false; return false;
} }
for (idx, c) in solution_candidate.0.char_indices() { for (idx, c) in solution_candidate.0.char_indices() {