Skip to content

Commit

Permalink
Bench: 29132295
Browse files Browse the repository at this point in the history
  • Loading branch information
TerjeKir committed Nov 15, 2023
1 parent d04fee1 commit 1d5ab82
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/evaluate.c
Original file line number Diff line number Diff line change
Expand Up @@ -563,7 +563,7 @@ int EvalPosition(const Position *pos, PawnCache pc) {
+ EgScore(eval) * (MidGame - pos->phase) * scale / 128)
/ MidGame;

eval = (eval / 16) * 16;
eval = ((eval + 8) / 16) * 16;

// Return the evaluation, negated if we are black + tempo bonus
return (sideToMove == WHITE ? eval : -eval) + Tempo;
Expand Down

0 comments on commit 1d5ab82

Please sign in to comment.