1
0
Fork 0
mirror of https://github.com/sockspls/badfish synced 2025-04-30 08:43:09 +00:00

No pruning at low plies.

This makes those very early depths a bit more reliable.

Thanks, joergoster!

be7f37187b
This commit is contained in:
nodchip 2020-06-06 18:50:15 +09:00
parent 2523f72ff9
commit d23f96d156

View file

@ -950,6 +950,7 @@ moves_loop: // When in check, search starts from here
// Step 14. Pruning at shallow depth (~170 Elo)
if ( !rootNode
&& thisThread->rootDepth > 4 * ONE_PLY
&& pos.non_pawn_material(us)
&& bestValue > VALUE_MATED_IN_MAX_PLY)
{