From fad8d0ac0599fded1cf9f7374358b780fa636c22 Mon Sep 17 00:00:00 2001 From: rektdie Date: Wed, 19 Mar 2025 14:13:57 +0100 Subject: [PATCH] bonus is depth * depth | bench 412557 --- source/search.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/search.cpp b/source/search.cpp index 96ce0ab..10364b2 100644 --- a/source/search.cpp +++ b/source/search.cpp @@ -265,7 +265,7 @@ SearchResults PVS(Board board, int depth, int alpha, int beta, int ply) { killerMoves[1][ply] = killerMoves[0][ply]; killerMoves[0][ply] = currMove; - history.Update(board.sideToMove, currMove, 150 * depth); + history.Update(board.sideToMove, currMove, depth * depth); } TT.WriteEntry(board.hashKey, depth, score, CutNode, Move());