Merge pull request #101 from rektdie/lmp-improving
Lmp improving bench 6535365
This commit was merged in pull request #101.
This commit is contained in:
1 file changed
+1
-1
+1
-1
@@ -463,7 +463,7 @@ SearchResults PVS(Board& board, int depth, int alpha, int beta, int ply, SearchC
|
|||||||
// that are late in the list
|
// that are late in the list
|
||||||
if (currMove.IsQuiet() && notMated) {
|
if (currMove.IsQuiet() && notMated) {
|
||||||
|
|
||||||
int lmpThreshold = 7 + depth * depth;
|
int lmpThreshold = 7 + depth * depth * (1 + improving);
|
||||||
|
|
||||||
if (moveSeen >= lmpThreshold) {
|
if (moveSeen >= lmpThreshold) {
|
||||||
continue;
|
continue;
|
||||||
|
|||||||
Reference in new issue
Block a user