added a base to rfp | bench 6836864
This commit is contained in:
1 parent
5519f300b5
commit
4c04bf2830
2 files changed
+2
-1
No files matched your search
+1
-1
@@ -413,7 +413,7 @@ SearchResults PVS(Board& board, int depth, int alpha, int beta, int ply, SearchC
|
||||
if (!board.InCheck() && !ctx->excluded) {
|
||||
if (ply) {
|
||||
// Reverse Futility Pruning
|
||||
int margin = rfpMargin * (depth - improving);
|
||||
int margin = rfpBase + rfpMargin * (depth - improving);
|
||||
if (!ttHit && staticEval - margin >= beta && depth < 7) {
|
||||
return (beta + (staticEval - beta) / 3);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user