mirror of
https://github.com/opelly27/Stockfish.git
synced 2026-05-20 01:37:46 +00:00
Simplify opponent worsening
Passed simplification STC LLR: 2.94 (-2.94,2.94) <-1.75,0.25> Total: 57120 W: 14712 L: 14526 D: 27882 Ptnml(0-2): 53, 6241, 15796, 6407, 63 https://tests.stockfishchess.org/tests/view/67a26153eb183d11c659454d Passed simplification LTC LLR: 2.94 (-2.94,2.94) <-1.75,0.25> Total: 313452 W: 79893 L: 79973 D: 153586 Ptnml(0-2): 279, 35053, 86156, 34945, 293 https://tests.stockfishchess.org/tests/view/67a29fe0fedef70e42ac32ae closes https://github.com/official-stockfish/Stockfish/pull/5867 Bench: 2582245
This commit is contained in:
+1
-1
@@ -804,7 +804,7 @@ Value Search::Worker::search(
|
||||
// false otherwise. The improving flag is used in various pruning heuristics.
|
||||
improving = ss->staticEval > (ss - 2)->staticEval;
|
||||
|
||||
opponentWorsening = ss->staticEval + (ss - 1)->staticEval > 5;
|
||||
opponentWorsening = ss->staticEval > -(ss - 1)->staticEval;
|
||||
|
||||
if (priorReduction >= 3 && !opponentWorsening)
|
||||
depth++;
|
||||
|
||||
Reference in New Issue
Block a user