mirror of
https://github.com/HChaZZY/Stockfish.git
synced 2025-12-20 09:06:45 +08:00
Remove redundant condition in probcut
When !ss->skipNullMove it is assured that excludedMove == MOVE_NONE No functional change.
This commit is contained in:
@@ -726,7 +726,6 @@ namespace {
|
|||||||
&& depth >= 5 * ONE_PLY
|
&& depth >= 5 * ONE_PLY
|
||||||
&& !inCheck
|
&& !inCheck
|
||||||
&& !ss->skipNullMove
|
&& !ss->skipNullMove
|
||||||
&& excludedMove == MOVE_NONE
|
|
||||||
&& abs(beta) < VALUE_MATE_IN_MAX_PLY)
|
&& abs(beta) < VALUE_MATE_IN_MAX_PLY)
|
||||||
{
|
{
|
||||||
Value rbeta = beta + 200;
|
Value rbeta = beta + 200;
|
||||||
|
|||||||
Reference in New Issue
Block a user