mirror of
https://github.com/HChaZZY/Stockfish.git
synced 2025-12-21 17:46:26 +08:00
Don't early stop if we have a mated score
No functional change.
This commit is contained in:
committed by
Marco Costalba
parent
36c82b751c
commit
6e2371a86b
@@ -440,6 +440,7 @@ namespace {
|
|||||||
if ( depth >= 12
|
if ( depth >= 12
|
||||||
&& !stop
|
&& !stop
|
||||||
&& PVSize == 1
|
&& PVSize == 1
|
||||||
|
&& bestValue > VALUE_MATED_IN_MAX_PLY
|
||||||
&& ( RootMoves.size() == 1
|
&& ( RootMoves.size() == 1
|
||||||
|| Time::now() - SearchTime > (TimeMgr.available_time() * 20) / 100))
|
|| Time::now() - SearchTime > (TimeMgr.available_time() * 20) / 100))
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user