changed conthist max value to half of normal hist | bench 2646638
This commit is contained in:
1 parent
d7c4383783
commit
db565c6100
1 file changed
+1
-1
+1
-1
@@ -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() {
|
||||
|
||||
Reference in new issue
Block a user