fix for potential logic error

This commit is contained in:
AnthonyMichaelTDM
2022-03-07 00:35:18 -08:00
parent d76b2f17c8
commit eaff44a86a
4 changed files with 4 additions and 4 deletions

View File

@@ -152,7 +152,7 @@ namespace Game
if (isCandidate[index])
{
var (candidateBlacks, candidateWhites) = guess.Compare(candidate);
if (blacks != candidateBlacks || whites != candidateWhites)
if (blacks > candidateBlacks || whites > candidateWhites)
isCandidate[index] = false;
}
}