mirror of
https://github.com/HChaZZY/Stockfish.git
synced 2025-12-24 19:16:49 +08:00
Don't update_gains() in qsearch
Is almost unuseful becuase captures are skipped. Signed-off-by: Marco Costalba <mcostalba@gmail.com>
This commit is contained in:
@@ -1372,8 +1372,6 @@ split_point_start: // At split points actual search starts from here
|
||||
else
|
||||
ss->eval = bestValue = evaluate(pos, evalMargin);
|
||||
|
||||
update_gains(pos, (ss-1)->currentMove, (ss-1)->eval, ss->eval);
|
||||
|
||||
// Stand pat. Return immediately if static value is at least beta
|
||||
if (bestValue >= beta)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user