Skip to content

Commit

Permalink
bench: 1334248
Browse files Browse the repository at this point in the history
bench: 1334248
  • Loading branch information
FauziAkram authored Nov 20, 2023
1 parent 527c962 commit 1f07d34
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/search.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1245,8 +1245,6 @@ Value search(Position& pos, Stack* ss, Value alpha, Value beta, Depth depth, boo
RootMove& rm =
*std::find(thisThread->rootMoves.begin(), thisThread->rootMoves.end(), move);

// Update root move average score, using a weighted average with the new score value.
// Initialize to value if unset.
rm.averageScore =
rm.averageScore != -VALUE_INFINITE ? (2 * value + rm.averageScore) / 3 : value;

Expand Down

0 comments on commit 1f07d34

Please sign in to comment.