mirror of
https://github.com/opelly27/Stockfish.git
synced 2026-05-20 12:07:43 +00: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
|
else
|
||||||
ss->eval = bestValue = evaluate(pos, evalMargin);
|
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
|
// Stand pat. Return immediately if static value is at least beta
|
||||||
if (bestValue >= beta)
|
if (bestValue >= beta)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user