From f133f61e3fb5a777857f51d995e9bb3d263cf404 Mon Sep 17 00:00:00 2001 From: lucasart Date: Thu, 10 Jul 2014 18:25:20 +0800 Subject: [PATCH 1/1] 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. --- src/search.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.39.2