mirror of
https://github.com/opelly27/Stockfish.git
synced 2026-05-20 13:17:44 +00:00
Change extra ply LMR condition to: cmh <= 0 && hist < 0
Extra ply LMR condition is now cmh <= 0 && h < 0 Instead of cmh + h < 0 STC: LLR: 2.96 (-2.94,2.94) [-1.50,4.50] Total: 55210 W: 10812 L: 10557 D: 33841 LTC: LLR: 2.95 (-2.94,2.94) [0.00,4.00] Total: 13212 W: 2239 L: 2045 D: 8928 Bench: 8420865 Resolves #339
This commit is contained in:
+2
-3
@@ -960,9 +960,8 @@ moves_loop: // When in check and at SpNode search starts from here
|
|||||||
ss->reduction = reduction<PvNode>(improving, depth, moveCount);
|
ss->reduction = reduction<PvNode>(improving, depth, moveCount);
|
||||||
|
|
||||||
if ( (!PvNode && cutNode)
|
if ( (!PvNode && cutNode)
|
||||||
|| ( History[pos.piece_on(to_sq(move))][to_sq(move)]
|
|| ( History[pos.piece_on(to_sq(move))][to_sq(move)] < VALUE_ZERO
|
||||||
+ CounterMovesHistory[pos.piece_on(prevMoveSq)][prevMoveSq]
|
&& CounterMovesHistory[pos.piece_on(prevMoveSq)][prevMoveSq][pos.piece_on(to_sq(move))][to_sq(move)] <= VALUE_ZERO))
|
||||||
[pos.piece_on(to_sq(move))][to_sq(move)] < VALUE_ZERO))
|
|
||||||
ss->reduction += ONE_PLY;
|
ss->reduction += ONE_PLY;
|
||||||
|
|
||||||
if (move == countermove)
|
if (move == countermove)
|
||||||
|
|||||||
Reference in New Issue
Block a user