1
0
Fork 0
mirror of https://github.com/sockspls/badfish synced 2025-07-11 19:49:14 +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:
Marco Costalba 2011-06-12 07:09:30 +01:00
parent 4b8a7f2793
commit aee75ae105

View file

@ -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)
{