X-Git-Url: https://git.sesse.net/?p=stockfish;a=blobdiff_plain;f=src%2Fsearch.cpp;h=645b1f9cb0b80b6395717733e6b9b978a2565af0;hp=7fffae263008e0175cc553844b0adc7137536fd0;hb=784e7d91455246361871f2f950dfb05e428c2c58;hpb=5b5687d76e7dc10af9ebaa91f03190db9a9f8d27 diff --git a/src/search.cpp b/src/search.cpp index 7fffae26..645b1f9c 100644 --- a/src/search.cpp +++ b/src/search.cpp @@ -607,15 +607,6 @@ namespace { : ttHit ? tte->move() : MOVE_NONE; ttPv = (ttHit && tte->is_pv()) || (PvNode && depth > 4 * ONE_PLY); - // if position has been searched at higher depths and we are shuffling, return value_draw - if (pos.rule50_count() > 36 - && ss->ply > 36 - && depth < 3 * ONE_PLY - && ttHit - && tte->depth() > depth - && pos.count() > 0) - return VALUE_DRAW; - // At non-PV nodes we check for an early TT cutoff if ( !PvNode && ttHit @@ -934,10 +925,6 @@ moves_loop: // When in check, search starts from here && (pos.blockers_for_king(~us) & from_sq(move) || pos.see_ge(move))) extension = ONE_PLY; - // Shuffle extension - else if(pos.rule50_count() > 14 && ss->ply > 14 && depth < 3 * ONE_PLY && PvNode) - extension = ONE_PLY; - // Castling extension else if (type_of(move) == CASTLING) extension = ONE_PLY;