mirror of
https://github.com/HChaZZY/Stockfish.git
synced 2025-12-20 17:16:33 +08:00
Remove a FIXME in id_loop()
No functional change. Signed-off-by: Marco Costalba <mcostalba@gmail.com>
This commit is contained in:
@@ -600,17 +600,17 @@ namespace {
|
|||||||
Value value, alpha, beta;
|
Value value, alpha, beta;
|
||||||
Move bestMove, easyMove;
|
Move bestMove, easyMove;
|
||||||
|
|
||||||
// Moves to search are verified and copied
|
// Initialize stuff before a new search
|
||||||
Rml.init(pos, searchMoves);
|
memset(ss, 0, 4 * sizeof(SearchStack));
|
||||||
|
|
||||||
// Initialize FIXME move before Rml.init()
|
|
||||||
TT.new_search();
|
TT.new_search();
|
||||||
H.clear();
|
H.clear();
|
||||||
memset(ss, 0, 4 * sizeof(SearchStack));
|
|
||||||
*ponderMove = bestMove = easyMove = MOVE_NONE;
|
*ponderMove = bestMove = easyMove = MOVE_NONE;
|
||||||
depth = aspirationDelta = 0;
|
depth = aspirationDelta = 0;
|
||||||
ss->currentMove = MOVE_NULL; // Hack to skip update_gains()
|
|
||||||
alpha = -VALUE_INFINITE, beta = VALUE_INFINITE;
|
alpha = -VALUE_INFINITE, beta = VALUE_INFINITE;
|
||||||
|
ss->currentMove = MOVE_NULL; // Hack to skip update_gains()
|
||||||
|
|
||||||
|
// Moves to search are verified and copied
|
||||||
|
Rml.init(pos, searchMoves);
|
||||||
|
|
||||||
// Handle special case of searching on a mate/stalemate position
|
// Handle special case of searching on a mate/stalemate position
|
||||||
if (Rml.size() == 0)
|
if (Rml.size() == 0)
|
||||||
|
|||||||
Reference in New Issue
Block a user