mirror of
https://github.com/sockspls/badfish
synced 2025-04-30 08:43:09 +00:00
History Pruning: Don't prune the main killer move.
Also increased pruned depth to 4. STC: LLR: 2.96 (-2.94,2.94) [0.00,5.00] Total: 23380 W: 4581 L: 4350 D: 14449 LTC: LLR: 2.96 (-2.94,2.94) [0.00,5.00] Total: 28934 W: 4329 L: 4105 D: 20500 Bench: 8369743 Resolves #498
This commit is contained in:
parent
27ca89d479
commit
07e0741dfb
1 changed files with 2 additions and 1 deletions
|
@ -921,7 +921,8 @@ moves_loop: // When in check search starts from here
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
// History based pruning
|
// History based pruning
|
||||||
if ( depth <= 3 * ONE_PLY
|
if ( depth <= 4 * ONE_PLY
|
||||||
|
&& move != ss->killers[0]
|
||||||
&& thisThread->history[pos.moved_piece(move)][to_sq(move)] < VALUE_ZERO
|
&& thisThread->history[pos.moved_piece(move)][to_sq(move)] < VALUE_ZERO
|
||||||
&& cmh[pos.moved_piece(move)][to_sq(move)] < VALUE_ZERO)
|
&& cmh[pos.moved_piece(move)][to_sq(move)] < VALUE_ZERO)
|
||||||
continue;
|
continue;
|
||||||
|
|
Loading…
Add table
Reference in a new issue