]> git.sesse.net Git - stockfish/commitdiff
Remove LMR condition for complex pos
authorDubslow <bunslow@gmail.com>
Mon, 30 May 2022 00:52:11 +0000 (19:52 -0500)
committerJoost VandeVondele <Joost.VandeVondele@gmail.com>
Thu, 2 Jun 2022 05:49:31 +0000 (07:49 +0200)
Inspired by Kia's similar test: https://tests.stockfishchess.org/tests/view/6292898c1e7cd5f29966fbe0

Passed STC:
https://tests.stockfishchess.org/tests/view/62941588b0d5a7d1b780ed4b
LLR: 2.94 (-2.94,2.94) <-2.25,0.25>
Total: 266872 W: 70850 L: 71033 D: 124989
Ptnml(0-2): 1180, 30114, 70941, 30111, 1090

Passed LTC:
https://tests.stockfishchess.org/tests/view/62964a754628d33daa24f062
LLR: 2.95 (-2.94,2.94) <-2.25,0.25>
Total: 70160 W: 18756 L: 18662 D: 32742
Ptnml(0-2): 42, 6976, 20950, 7070, 42

closes https://github.com/official-stockfish/Stockfish/pull/4047

Bench 6237567

src/search.cpp

index 8ecdbc309053d5de52aadea392a589e5e109ac15..ea1e63fea0a869a3dcd7abc0315aadc1033c77d9 100644 (file)
@@ -1167,11 +1167,6 @@ moves_loop: // When in check, search starts here
           if (ttCapture)
               r++;
 
-          // Decrease reduction at PvNodes if bestvalue
-          // is vastly different from static evaluation
-          if (PvNode && !ss->inCheck && abs(ss->staticEval - bestValue) > 250)
-              r--;
-
           // Decrease reduction for PvNodes based on depth
           if (PvNode)
               r -= 1 + 15 / ( 3 + depth );