mirror of
https://github.com/sockspls/badfish
synced 2025-05-01 17:19:36 +00:00
Revert "IID in pv also when TT move depth is too small"
After almost 900 games we are at -2 ELO Signed-off-by: Marco Costalba <mcostalba@gmail.com>
This commit is contained in:
parent
15ec3e911e
commit
5e112f16da
1 changed files with 2 additions and 5 deletions
|
@ -1103,11 +1103,8 @@ namespace {
|
||||||
tte = TT.retrieve(pos.get_key());
|
tte = TT.retrieve(pos.get_key());
|
||||||
ttMove = (tte ? tte->move() : MOVE_NONE);
|
ttMove = (tte ? tte->move() : MOVE_NONE);
|
||||||
|
|
||||||
// Go with internal iterative deepening if we don't have a TT move or
|
// Go with internal iterative deepening if we don't have a TT move
|
||||||
// if search depth is more then 4*OnePly higher then TT move depth.
|
if (UseIIDAtPVNodes && ttMove == MOVE_NONE && depth >= 5*OnePly)
|
||||||
if ( UseIIDAtPVNodes
|
|
||||||
&& depth >= 5*OnePly
|
|
||||||
&&(!ttMove || depth > tte->depth() + 4*OnePly))
|
|
||||||
{
|
{
|
||||||
search_pv(pos, ss, alpha, beta, depth-2*OnePly, ply, threadID);
|
search_pv(pos, ss, alpha, beta, depth-2*OnePly, ply, threadID);
|
||||||
ttMove = ss[ply].pv[ply];
|
ttMove = ss[ply].pv[ply];
|
||||||
|
|
Loading…
Add table
Reference in a new issue