From: lucasart Date: Thu, 10 Jul 2014 10:25:20 +0000 (+0800) Subject: Remove useless condition X-Git-Url: https://git.sesse.net/?p=stockfish;a=commitdiff_plain;h=f133f61e3fb5a777857f51d995e9bb3d263cf404;ds=inline Remove useless condition 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. --- diff --git a/src/search.cpp b/src/search.cpp index a2138d42..ef83f459 100644 --- a/src/search.cpp +++ b/src/search.cpp @@ -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