removed no tthit condition | bench 1997703

This commit is contained in:
rektdie committed 2026-02-14 20:38:16 +01:00
1 parent 1f0b36764d
commit 7cf8b381ce
1 file changed
+2 -2
+2 -2
View File
@@ -471,8 +471,8 @@ SearchResults PVS(Board& board, int depth, int alpha, int beta, int ply, SearchC
if (ply) {
// Reverse Futility Pruning
int margin = rfpBase + rfpMargin * (depth - improving);
if (!ttHit && ttAdjustedEval - margin >= beta && depth < 7) {
return (beta + (staticEval - beta) / 3);
if (ttAdjustedEval - margin >= beta && depth < 7) {
return (beta + (ttAdjustedEval - beta) / 3);
}
// Razoring