mirror of
https://github.com/sockspls/badfish
synced 2025-04-29 16:23:09 +00:00
Don't update killers for evasions
We don't use killers to order evasions, so it seems natural do not consider an evasion cut-off move as a possible killer. Test shows almost no change, as it should be becuase this is a really tiny change, but neverthless seems the correct thing to do. After 11893 games Mod vs Orig 1773 - 1696 - 8424 ELO +2 (+-3.4) Idea from Critter. Signed-off-by: Marco Costalba <mcostalba@gmail.com>
This commit is contained in:
parent
939b621e5c
commit
d543a64cc7
1 changed files with 3 additions and 1 deletions
|
@ -1141,7 +1141,9 @@ split_point_start: // At split points actual search starts from here
|
|||
TT.store(posKey, value_to_tt(bestValue, ss->ply), vt, depth, move, ss->eval, ss->evalMargin);
|
||||
|
||||
// Update killers and history for non capture cut-off moves
|
||||
if (bestValue >= beta && !pos.is_capture_or_promotion(move))
|
||||
if ( bestValue >= beta
|
||||
&& !pos.is_capture_or_promotion(move)
|
||||
&& !inCheck)
|
||||
{
|
||||
if (move != ss->killers[0])
|
||||
{
|
||||
|
|
Loading…
Add table
Reference in a new issue