returning staticeval | bench 1795203
This commit is contained in:
1 parent
2fd3cf0d2a
commit
1f0b36764d
1 file changed
+1
-1
+1
-1
@@ -472,7 +472,7 @@ SearchResults PVS(Board& board, int depth, int alpha, int beta, int ply, SearchC
|
||||
// Reverse Futility Pruning
|
||||
int margin = rfpBase + rfpMargin * (depth - improving);
|
||||
if (!ttHit && ttAdjustedEval - margin >= beta && depth < 7) {
|
||||
return (beta + (ttAdjustedEval - beta) / 3);
|
||||
return (beta + (staticEval - beta) / 3);
|
||||
}
|
||||
|
||||
// Razoring
|
||||
|
||||
Reference in new issue
Block a user