changed conthist max value to half of normal hist | bench 2646638

This commit is contained in:
rektdie committed 2025-07-20 04:45:49 +02:00
1 parent d7c4383783
commit db565c6100
1 file changed
+1 -1
+1 -1
View File
@@ -43,7 +43,7 @@ public:
int clampedBonus = std::clamp(bonus, -MAX_HISTORY, MAX_HISTORY);
contHistMoves[stm][prevType][prevTo][type][to] +=
clampedBonus - contHistMoves[stm][prevType][prevTo][type][to] * std::abs(clampedBonus) / MAX_HISTORY * 4;
clampedBonus - contHistMoves[stm][prevType][prevTo][type][to] * std::abs(clampedBonus) / MAX_HISTORY / 2;
}
void Clear() {