Skip to content

Commit

Permalink
- Simplify history update. : official-stockfish/Stockfish@13426a9
Browse files Browse the repository at this point in the history
  • Loading branch information
yaneurao committed Dec 2, 2023
1 parent 6d8c8dd commit dac37b1
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions source/movepick.h
Original file line number Diff line number Diff line change
Expand Up @@ -53,9 +53,7 @@ class StatsEntry {
// この式は、Stockfishのコードそのまま。
// 試行錯誤の結果っぽくて、数学的な根拠はおそらくない。

entry += (bonus * D - entry * abs(bonus)) / (D * 5 / 4);

//
entry += bonus - entry * abs(bonus) / D;

// 解説)
//
Expand Down

0 comments on commit dac37b1

Please sign in to comment.