mirror of
https://github.com/sockspls/badfish
synced 2025-04-30 08:43:09 +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:
parent
078625e333
commit
b7063ef65b
1 changed files with 2 additions and 3 deletions
|
@ -960,9 +960,8 @@ moves_loop: // When in check and at SpNode search starts from here
|
|||
ss->reduction = reduction<PvNode>(improving, depth, moveCount);
|
||||
|
||||
if ( (!PvNode && cutNode)
|
||||
|| ( History[pos.piece_on(to_sq(move))][to_sq(move)]
|
||||
+ CounterMovesHistory[pos.piece_on(prevMoveSq)][prevMoveSq]
|
||||
[pos.piece_on(to_sq(move))][to_sq(move)] < VALUE_ZERO))
|
||||
|| ( History[pos.piece_on(to_sq(move))][to_sq(move)] < VALUE_ZERO
|
||||
&& CounterMovesHistory[pos.piece_on(prevMoveSq)][prevMoveSq][pos.piece_on(to_sq(move))][to_sq(move)] <= VALUE_ZERO))
|
||||
ss->reduction += ONE_PLY;
|
||||
|
||||
if (move == countermove)
|
||||
|
|
Loading…
Add table
Reference in a new issue