changed conthist max value | bench 3012327

This commit is contained in:
rektdie committed 2025-07-20 04:45:49 +02:00
1 parent c58d29ac61
commit d7c4383783
2 files changed
+5 -5

No files matched your search

+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;
clampedBonus - contHistMoves[stm][prevType][prevTo][type][to] * std::abs(clampedBonus) / MAX_HISTORY * 4;
}
void Clear() {