mirror of
https://github.com/HChaZZY/Stockfish.git
synced 2025-12-20 17:16:33 +08:00
Use alpha instead of beta-1
It is more directly related to a fail-low. No functional change.
This commit is contained in:
@@ -716,7 +716,7 @@ namespace {
|
||||
&& (ss-1)->reduction
|
||||
&& threatMove != MOVE_NONE
|
||||
&& allows(pos, (ss-1)->currentMove, threatMove))
|
||||
return beta - 1;
|
||||
return alpha;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user