We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fed3e75 commit d6613b7Copy full SHA for d6613b7
src/search.cpp
@@ -823,12 +823,10 @@ namespace {
823
{
824
ss->reduction = reduction<PvNode>(improving, depth, moveCount);
825
826
- if (!PvNode && cutNode)
+ if ( (!PvNode && cutNode)
827
+ || History[pos.piece_on(to_sq(move))][to_sq(move)] < 0)
828
ss->reduction += ONE_PLY;
829
- else if (History[pos.piece_on(to_sq(move))][to_sq(move)] < 0)
830
- ss->reduction += ONE_PLY / 2;
831
-
832
if (move == countermoves[0] || move == countermoves[1])
833
ss->reduction = std::max(DEPTH_ZERO, ss->reduction - ONE_PLY);
834
0 commit comments