Skip to content

Commit 77d46ff

Browse files
daniel-monroevondele
authored andcommitted
Simplify probCutDepth term
Passed STC LLR: 2.93 (-2.94,2.94) <-1.75,0.25> Total: 139392 W: 36003 L: 35897 D: 67492 Ptnml(0-2): 451, 16383, 35911, 16511, 440 https://tests.stockfishchess.org/tests/view/697ebb4d5f56030af97b5aa5 Passed LTC LLR: 2.97 (-2.94,2.94) <-1.75,0.25> Total: 266934 W: 67822 L: 67851 D: 131261 Ptnml(0-2): 175, 29579, 73955, 29616, 142 https://tests.stockfishchess.org/tests/view/6980e5a26362aee5c8a55398 closes official-stockfish#6607 Bench: 2515956
1 parent 91c6ea8 commit 77d46ff

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/search.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -943,7 +943,7 @@ Value Search::Worker::search(
943943
assert(probCutBeta < VALUE_INFINITE && probCutBeta > beta);
944944

945945
MovePicker mp(pos, ttData.move, probCutBeta - ss->staticEval, &captureHistory);
946-
Depth probCutDepth = std::clamp(depth - 5 - (ss->staticEval - beta) / 315, 0, depth);
946+
Depth probCutDepth = depth - 5;
947947

948948
while ((move = mp.next_move()) != Move::none())
949949
{

0 commit comments

Comments
 (0)