mirror of
https://github.com/HChaZZY/Stockfish.git
synced 2025-12-20 17:16:33 +08:00
Make razor_margin[4] ONE_PLY value independent
No functional change.
This commit is contained in:
committed by
Marco Costalba
parent
7ae3c05795
commit
b77bae0529
@@ -729,7 +729,7 @@ namespace {
|
||||
&& eval + razor_margin[depth / ONE_PLY] <= alpha)
|
||||
{
|
||||
if ( depth <= ONE_PLY
|
||||
&& eval + razor_margin[3 * ONE_PLY] <= alpha)
|
||||
&& eval + razor_margin[3] <= alpha)
|
||||
return qsearch<NonPV, false>(pos, ss, alpha, beta, DEPTH_ZERO);
|
||||
|
||||
Value ralpha = alpha - razor_margin[depth / ONE_PLY];
|
||||
|
||||
Reference in New Issue
Block a user