Merge pull request #102 from rektdie/fp-improving
fp less when improving | bench 7573487
This commit was merged in pull request #102.
This commit is contained in:
1 file changed
+1
-1
+1
-1
@@ -482,7 +482,7 @@ SearchResults PVS(Board& board, int depth, int alpha, int beta, int ply, SearchC
|
|||||||
historyScore += ctx->conthist.GetTwoPly(board, currMove, ctx, ply);
|
historyScore += ctx->conthist.GetTwoPly(board, currMove, ctx, ply);
|
||||||
}
|
}
|
||||||
|
|
||||||
int margin = fpMargin * depth + historyScore / 32;
|
int margin = fpMargin * (depth + improving) + historyScore / 32;
|
||||||
|
|
||||||
if (!isPV && ply && currMove.IsQuiet()
|
if (!isPV && ply && currMove.IsQuiet()
|
||||||
&& depth <= 5 && staticEval + margin < alpha && notMated) {
|
&& depth <= 5 && staticEval + margin < alpha && notMated) {
|
||||||
|
|||||||
Reference in new issue
Block a user