prevent rfp in ttpv nodes | bench 1738647 #148
+1
-1
@@ -389,7 +389,7 @@ SearchResults PVS(Board& board, int depth, int alpha, int beta, int ply, SearchC
|
|||||||
if (ply) {
|
if (ply) {
|
||||||
// Reverse Futility Pruning
|
// Reverse Futility Pruning
|
||||||
int margin = rfpBase + rfpMargin * (depth - improving);
|
int margin = rfpBase + rfpMargin * (depth - improving);
|
||||||
if (ttAdjustedEval - margin >= beta && depth < 7) {
|
if (!ttpv && ttAdjustedEval - margin >= beta && depth < 7) {
|
||||||
return (beta + (ttAdjustedEval - beta) / 3);
|
return (beta + (ttAdjustedEval - beta) / 3);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user