mirror of
https://github.com/HChaZZY/Stockfish.git
synced 2025-12-21 09:37:16 +08:00
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.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user