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 3f1bc9e commit 7e9f776Copy full SHA for 7e9f776
src/search.cpp
@@ -959,7 +959,10 @@ namespace {
959
[pos.piece_on(to_sq(move))][to_sq(move)] <= VALUE_ZERO))
960
ss->reduction += ONE_PLY;
961
962
- if (move == countermove)
+ if ( move == countermove
963
+ || ( History[pos.piece_on(to_sq(move))][to_sq(move)] > VALUE_ZERO
964
+ && CounterMovesHistory[pos.piece_on(prevMoveSq)][prevMoveSq]
965
+ [pos.piece_on(to_sq(move))][to_sq(move)] > VALUE_ZERO))
966
ss->reduction = std::max(DEPTH_ZERO, ss->reduction - ONE_PLY);
967
968
// Decrease reduction for moves that escape a capture
0 commit comments