projects
/
fairystockfish.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
36c82b7
)
Don't early stop if we have a mated score
author
Hiraoka Takuya
<hiraoka64@gmail.com>
Thu, 4 Apr 2013 17:31:31 +0000 (
02:31
+0900)
committer
Marco Costalba
<mcostalba@gmail.com>
Thu, 4 Apr 2013 19:39:48 +0000 (21:39 +0200)
No functional change.
src/search.cpp
patch
|
blob
|
history
diff --git
a/src/search.cpp
b/src/search.cpp
index
5ff23ad
..
e246512
100644
(file)
--- a/
src/search.cpp
+++ b/
src/search.cpp
@@
-440,6
+440,7
@@
namespace {
if ( depth >= 12
&& !stop
&& PVSize == 1
+ && bestValue > VALUE_MATED_IN_MAX_PLY
&& ( RootMoves.size() == 1
|| Time::now() - SearchTime > (TimeMgr.available_time() * 20) / 100))
{