mirror of
https://github.com/sockspls/badfish
synced 2025-04-29 16:23:09 +00:00
Revert "Do IID also when we already have a ttMove"
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>
This commit is contained in:
parent
6776f76d20
commit
d9a8dd0f7a
1 changed files with 1 additions and 1 deletions
|
@ -1237,7 +1237,7 @@ namespace {
|
||||||
|
|
||||||
// Step 9. Internal iterative deepening
|
// Step 9. Internal iterative deepening
|
||||||
if ( depth >= IIDDepth[PvNode]
|
if ( depth >= IIDDepth[PvNode]
|
||||||
&& (ttMove == MOVE_NONE || (PvNode && tte->depth() <= depth - 4 * OnePly))
|
&& ttMove == MOVE_NONE
|
||||||
&& (PvNode || (!isCheck && ss->eval >= beta - IIDMargin)))
|
&& (PvNode || (!isCheck && ss->eval >= beta - IIDMargin)))
|
||||||
{
|
{
|
||||||
Depth d = (PvNode ? depth - 2 * OnePly : depth / 2);
|
Depth d = (PvNode ? depth - 2 * OnePly : depth / 2);
|
||||||
|
|
Loading…
Add table
Reference in a new issue