mirror of
https://github.com/sockspls/badfish
synced 2025-04-30 08:43:09 +00: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:
parent
a3a0df92a3
commit
d34bb889b1
1 changed files with 2 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue