A small optimizaiton of empty_color calculating

This commit is contained in:
Matúš Púll 2024-12-12 13:16:52 +01:00
parent bcc10f94a8
commit 26394d7c29

View file

@ -85,6 +85,7 @@ void Game::must_be(int n, int must_col) {
void Game::empty_color(int col) {
for(int n = 0; n < N; n++)
possible[n][col] = 0;
empty_colors[col] = true;
}
// Specific reactions