Skip to content

Commit bfe9044

Browse files
VoyagerOnezamar
authored andcommitted
History Stat Formula Simplification
STC: LLR: 2.95 (-2.94,2.94) [-3.00,1.00] Total: 67476 W: 12561 L: 12521 D: 42394 LTC: LLR: 2.96 (-2.94,2.94) [-3.00,1.00] Total: 111923 W: 15147 L: 15149 D: 81627 Bench: 8430465 Resolves official-stockfish#588
1 parent 744ed85 commit bfe9044

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/movepick.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,8 +57,8 @@ struct Stats {
5757
if (abs(int(v)) >= 324)
5858
return;
5959

60-
table[pc][to] -= table[pc][to] * abs(int(v)) / (CM ? 512 : 324);
61-
table[pc][to] += int(v) * (CM ? 64 : 32);
60+
table[pc][to] -= table[pc][to] * abs(int(v)) / (CM ? 936 : 324);
61+
table[pc][to] += int(v) * 32;
6262
}
6363

6464
private:

0 commit comments

Comments
 (0)