]> git.sesse.net Git - stockfish/commitdiff
Remove useless condition
authorlucasart <lucas.braesch@gmail.com>
Thu, 10 Jul 2014 10:25:20 +0000 (18:25 +0800)
committerlucasart <lucas.braesch@gmail.com>
Thu, 10 Jul 2014 10:25:20 +0000 (18:25 +0800)
Small simplification, suggested by Uri Blass.

passed STC:
LLR: 2.96 (-2.94,2.94) [-3.00,1.00]
Total: 25839 W: 4464 L: 4351 D: 17024

and LTC:
LLR: 2.96 (-2.94,2.94) [-3.00,1.00]
Total: 220039 W: 29981 L: 30131 D: 159927

No functional change.

src/search.cpp

index a2138d426a04606f9d8a88a7e5d9a1f3a71f4135..ef83f4598da967c20b49d304df451d92db02c583 100644 (file)
@@ -395,7 +395,7 @@ namespace {
         if (Limits.use_time_management() && !Signals.stop && !Signals.stopOnPonderhit)
         {
             // Take some extra time if the best move has changed
-            if (depth > 4 && depth < 50 &&  MultiPV == 1)
+            if (depth > 4 && MultiPV == 1)
                 TimeMgr.pv_instability(BestMoveChanges);
 
             // Stop the search if only one legal move is available or all