Merge pull request #91 from rektdie/fp-conthist
added 1 ply conthist to fp | bench 8636322
This commit was merged in pull request #91.
This commit is contained in:
1 file changed
+4
@@ -460,6 +460,10 @@ SearchResults PVS(Board& board, int depth, int alpha, int beta, int ply, SearchC
|
||||
// If our static eval is far below alpha, there is only a small chance
|
||||
// that a quiet move will help us so we skip them
|
||||
int historyScore = ctx->history[board.sideToMove][currMove.MoveFrom()][currMove.MoveTo()];
|
||||
|
||||
if (ply > 0)
|
||||
historyScore += ctx->conthist.GetOnePly(board, currMove, ctx, ply);
|
||||
|
||||
int fpMargin = 100 * depth + historyScore / 32;
|
||||
|
||||
if (!isPV && ply && currMove.IsQuiet()
|
||||
|
||||
Reference in new issue
Block a user