Do TT cutoffs before LMP, use TT move as starting best_move and readability changes

This commit is contained in:
stefiosif
2025-02-07 19:41:54 +02:00
parent b98100aa71
commit bdd065efff
4 changed files with 53 additions and 55 deletions

View File

@@ -207,7 +207,7 @@ fn uci_option(option_iter: &mut SplitWhitespace, game: &mut Game) -> anyhow::Res
let size = value
.parse::<usize>()
.map_err(|_| anyhow!("Invalid value for Hash"))?;
game.tt = TranspositionTable::new_with_mb_size(size);
game.tt = TranspositionTable::with_capacity(size);
}
}