mirror of
https://github.com/sockspls/badfish
synced 2025-07-11 19:49:14 +00:00
Remove a FIXME in id_loop()
No functional change. Signed-off-by: Marco Costalba <mcostalba@gmail.com>
This commit is contained in:
parent
ce2845d333
commit
af236373cb
1 changed files with 6 additions and 6 deletions
|
@ -600,17 +600,17 @@ namespace {
|
|||
Value value, alpha, beta;
|
||||
Move bestMove, easyMove;
|
||||
|
||||
// Moves to search are verified and copied
|
||||
Rml.init(pos, searchMoves);
|
||||
|
||||
// Initialize FIXME move before Rml.init()
|
||||
// Initialize stuff before a new search
|
||||
memset(ss, 0, 4 * sizeof(SearchStack));
|
||||
TT.new_search();
|
||||
H.clear();
|
||||
memset(ss, 0, 4 * sizeof(SearchStack));
|
||||
*ponderMove = bestMove = easyMove = MOVE_NONE;
|
||||
depth = aspirationDelta = 0;
|
||||
ss->currentMove = MOVE_NULL; // Hack to skip update_gains()
|
||||
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
|
||||
if (Rml.size() == 0)
|
||||
|
|
Loading…
Add table
Reference in a new issue