Skip to content
Permalink
Browse files

PvHitEvasions

Extend pvHit Check Evasions 
Bench:3125621
  • Loading branch information...
Chess13234 committed Jan 10, 2019
1 parent 4c11d17 commit 069135c1b6c1a1778635b125bf8f509480b2ea9e
Showing with 5 additions and 1 deletion.
  1. +5 −1 src/search.cpp
@@ -973,7 +973,11 @@ namespace {
// Extension if castling
else if (type_of(move) == CASTLING)
extension = ONE_PLY;

//Extend PvHit Check Evasions
else if ( inCheck
&& captureOrPromotion
&& pvHit)
extension = ONE_PLY;
// Calculate new depth for this move
newDepth = depth - ONE_PLY + extension;

0 comments on commit 069135c

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