mirror of
https://github.com/sockspls/badfish
synced 2025-04-29 16:23:09 +00:00
Do IID also when we already have a ttMove
In case tte->depth() is far lower the current depth and we are in a PV node. Almost 45% of researches give a different ttMove ! After 999 games at 1+0 Mod vs Orig +174 =694 -131 +15 ELO !!!!!!! Signed-off-by: Marco Costalba <mcostalba@gmail.com>
This commit is contained in:
parent
ec0f0eba6b
commit
2ea323aec6
1 changed files with 2 additions and 2 deletions
|
@ -1207,8 +1207,8 @@ namespace {
|
|||
}
|
||||
|
||||
// Step 9. Internal iterative deepening
|
||||
if ( depth >= IIDDepth[PvNode]
|
||||
&& ttMove == MOVE_NONE
|
||||
if ( depth >= IIDDepth[PvNode]
|
||||
&& (ttMove == MOVE_NONE || (PvNode && tte->depth() <= depth - 4 * OnePly))
|
||||
&& (PvNode || (!isCheck && ss[ply].eval >= beta - IIDMargin)))
|
||||
{
|
||||
Depth d = (PvNode ? depth - 2 * OnePly : depth / 2);
|
||||
|
|
Loading…
Add table
Reference in a new issue