mirror of
https://github.com/sockspls/badfish
synced 2025-07-12 03:59:15 +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:
parent
4b8a7f2793
commit
aee75ae105
1 changed files with 0 additions and 2 deletions
|
@ -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)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Reference in a new issue