Skip to content

Commit

Permalink
Penalise the TT move in multicut
Browse files Browse the repository at this point in the history
Passed STC:
LLR: 2.99 (-2.94,2.94) <0.00,2.00>
Total: 185504 W: 48079 L: 47533 D: 89892
Ptnml(0-2): 716, 21866, 46988, 22520, 662
https://tests.stockfishchess.org/tests/view/662d9e1d6115ff6764c7f83d

Passed LTC:
LLR: 2.94 (-2.94,2.94) <0.50,2.50>
Total: 75612 W: 19351 L: 18948 D: 37313
Ptnml(0-2): 46, 8363, 20592, 8752, 53
https://tests.stockfishchess.org/tests/view/662dc9dc6115ff6764c80fea

closes official-stockfish#5195

Bench: 1415435
  • Loading branch information
cj5716 authored and Disservin committed Apr 28, 2024
1 parent a129c06 commit 834e8ff
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/search.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1067,7 +1067,12 @@ Value Search::Worker::search(
// we assume this expected cut-node is not singular (multiple moves fail high),
// and we can prune the whole subtree by returning a softbound.
else if (singularBeta >= beta)
{
if (!ttCapture)
update_quiet_stats(pos, ss, *this, ttMove, -stat_malus(depth));

return singularBeta;
}

// Negative extensions
// If other moves failed high over (ttValue - margin) without the ttMove on a reduced search,
Expand Down

0 comments on commit 834e8ff

Please sign in to comment.