returning staticeval | bench 1795203

This commit is contained in:
rektdie committed 2026-02-14 20:34:21 +01:00
1 parent 2fd3cf0d2a
commit 1f0b36764d
1 file changed
+1 -1
+1 -1
View File
@@ -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