mirror of
https://github.com/sockspls/badfish
synced 2025-04-30 08:43:09 +00:00
Don't early stop if we have a mated score
No functional change.
This commit is contained in:
parent
36c82b751c
commit
6e2371a86b
1 changed files with 1 additions and 0 deletions
|
@ -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))
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Reference in a new issue