mirror of
https://github.com/opelly27/Stockfish.git
synced 2026-05-20 13:17:44 +00:00
Remove condition on killers in history pruning
Now allows main killer to be history prune. STC: LLR: 2.94 (-2.94,2.94) [-3.00,1.00] Total: 15852 W: 2910 L: 2781 D: 10161 LTC: LLR: 2.96 (-2.94,2.94) [-3.00,1.00] Total: 56428 W: 7610 L: 7537 D: 41281 Bench: 8032058
This commit is contained in:
committed by
Marco Costalba
parent
6aa9308f08
commit
2731bbaf6b
@@ -935,7 +935,6 @@ moves_loop: // When in check search starts from here
|
|||||||
|
|
||||||
// Countermoves based pruning
|
// Countermoves based pruning
|
||||||
if ( predictedDepth < 3 * ONE_PLY
|
if ( predictedDepth < 3 * ONE_PLY
|
||||||
&& move != ss->killers[0]
|
|
||||||
&& (!cmh || (*cmh )[moved_piece][to_sq(move)] < VALUE_ZERO)
|
&& (!cmh || (*cmh )[moved_piece][to_sq(move)] < VALUE_ZERO)
|
||||||
&& (!fmh || (*fmh )[moved_piece][to_sq(move)] < VALUE_ZERO)
|
&& (!fmh || (*fmh )[moved_piece][to_sq(move)] < VALUE_ZERO)
|
||||||
&& (!fmh2 || (*fmh2)[moved_piece][to_sq(move)] < VALUE_ZERO || (cmh && fmh)))
|
&& (!fmh2 || (*fmh2)[moved_piece][to_sq(move)] < VALUE_ZERO || (cmh && fmh)))
|
||||||
|
|||||||
Reference in New Issue
Block a user