mirror of
https://github.com/HChaZZY/Stockfish.git
synced 2025-12-19 16:46:30 +08:00
Execute an implied ucinewgame at startup
execute an implied ucinewgame upon entering the UCI::loop, to make sure that searches starting with and without an (optional) ucinewgame command yield the same search. This is needed now that seach::clear() initializes tables to non-zero default values. No functional change Closes #1101 Closes #1104
This commit is contained in:
committed by
Joona Kiiski
parent
0c1f119069
commit
7edd1f7ccd
@@ -185,7 +185,7 @@ void Search::init() {
|
||||
}
|
||||
|
||||
|
||||
/// Search::clear() resets search state to zero, to obtain reproducible results
|
||||
/// Search::clear() resets search state to its initial value, to obtain reproducible results
|
||||
|
||||
void Search::clear() {
|
||||
|
||||
|
||||
Reference in New Issue
Block a user