mirror of
https://github.com/HChaZZY/Stockfish.git
synced 2025-12-22 10:06:26 +08:00
Test Easy Move if no BestMoveChanges
In case we find a very good move after a troubled start, we don't return immediately anymore. Tested directly at long TC where it passed: LLR: 2.95 (-2.94,2.94) [0.00,6.00] Total: 13910 W: 2397 L: 2228 D: 9285 bench: 7995098
This commit is contained in:
committed by
Marco Costalba
parent
a3a0df92a3
commit
d34bb889b1
@@ -19,6 +19,7 @@
|
||||
|
||||
#include <algorithm>
|
||||
#include <cassert>
|
||||
#include <cfloat>
|
||||
#include <cmath>
|
||||
#include <cstring>
|
||||
#include <iostream>
|
||||
@@ -440,6 +441,7 @@ namespace {
|
||||
|
||||
// Stop search early if one move seems to be much better than others
|
||||
if ( depth >= 12
|
||||
&& BestMoveChanges <= DBL_EPSILON
|
||||
&& !stop
|
||||
&& PVSize == 1
|
||||
&& bestValue > VALUE_MATED_IN_MAX_PLY
|
||||
|
||||
Reference in New Issue
Block a user