X-Git-Url: https://git.sesse.net/?p=stockfish;a=blobdiff_plain;f=src%2Fsearch.cpp;h=d54794bbc8712205a066cf977da4f692b3cb4c02;hp=24c741aa1cad237909e561f595335f9f9b52d015;hb=7733dadfd7c8781e3bde3cc4e21751fa44ab6ed8;hpb=9ca4359f3691305fc5e3306c3084c83557ce09c0 diff --git a/src/search.cpp b/src/search.cpp index 24c741aa..d54794bb 100644 --- a/src/search.cpp +++ b/src/search.cpp @@ -52,9 +52,6 @@ using std::endl; namespace { - // Maximum number of allowed moves per position - const int MOVES_MAX = 256; - // Types enum NodeType { NonPV, PV }; @@ -633,7 +630,7 @@ namespace { // Add some extra time if the best move has changed during the last two iterations if (Iteration > 5 && Iteration <= 50) - TimeMgr.pv_unstability(BestMoveChangesByIteration[Iteration], + TimeMgr.pv_instability(BestMoveChangesByIteration[Iteration], BestMoveChangesByIteration[Iteration-1]); // Stop search if most of MaxSearchTime is consumed at the end of the