projects
/
stockfish
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6776f76
)
Revert "Do IID also when we already have a ttMove"
author
Marco Costalba
<mcostalba@gmail.com>
Thu, 24 Jun 2010 17:00:03 +0000
(18:00 +0100)
committer
Marco Costalba
<mcostalba@gmail.com>
Thu, 24 Jun 2010 17:00:03 +0000
(18:00 +0100)
Joona's testing reports very bad results at 5s, 30s and
even 1 minute TC, so revert.
Signed-off-by: Marco Costalba <mcostalba@gmail.com>
src/search.cpp
patch
|
blob
|
history
diff --git
a/src/search.cpp
b/src/search.cpp
index 693bea940548f31d975db84c428d2b8273819c8a..a97d3e025b070922448486522a7c1068d68d2d44 100644
(file)
--- a/
src/search.cpp
+++ b/
src/search.cpp
@@
-1237,7
+1237,7
@@
namespace {
// Step 9. Internal iterative deepening
if ( depth >= IIDDepth[PvNode]
- &&
(ttMove == MOVE_NONE || (PvNode && tte->depth() <= depth - 4 * OnePly))
+ &&
ttMove == MOVE_NONE
&& (PvNode || (!isCheck && ss->eval >= beta - IIDMargin)))
{
Depth d = (PvNode ? depth - 2 * OnePly : depth / 2);