Skip to content
Permalink
Browse files

tweecg.

bench 3772836
  • Loading branch information...
Vizvezdenec committed Aug 13, 2019
1 parent 950c605 commit d362c8f66f6e8309c535d0606a4c9f71133f3f38
Showing with 3 additions and 1 deletion.
  1. +3 −1 src/search.cpp
@@ -1071,7 +1071,6 @@ namespace {
// re-searched at full depth.
if ( depth >= 3 * ONE_PLY
&& moveCount > 1 + 3 * rootNode
&& !(givesCheck && extension && captureOrPromotion)
&& ( !captureOrPromotion
|| moveCountPruning
|| ss->staticEval + PieceValue[EG][pos.captured_piece()] <= alpha))
@@ -1093,6 +1092,9 @@ namespace {
// Decrease reduction if move has been singularly extended
r -= singularLMR * ONE_PLY;

if (givesCheck && extension && captureOrPromotion)
r -= ONE_PLY;

if (!captureOrPromotion)
{
// Increase reduction if ttMove is a capture (~0 Elo)

0 comments on commit d362c8f

Please sign in to comment.
You can’t perform that action at this time.