1
0
Fork 0

Weakness from 140

pull/3777/head
xefoci7612 2021-11-07 11:22:05 +01:00
parent 6ab17e6195
commit 6db039732e
1 changed files with 1 additions and 1 deletions

View File

@ -1775,7 +1775,7 @@ moves_loop: // When in check, search starts here
Value topScore = rootMoves[0].score;
int delta = std::min(topScore - rootMoves[multiPV - 1].score, PawnValueMg);
int maxScore = -VALUE_INFINITE;
double weakness = 140 - 3 * level;
double weakness = 130 - 2 * level;
float mean = delta * weakness / 2;
float stddev = mean * 0.3;