Skip to content

Commit

Permalink
Correct pv
Browse files Browse the repository at this point in the history
  • Loading branch information
abulmo committed Dec 26, 2020
1 parent 3569d3e commit b4e4c8d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/search.d
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ final class Search {
return stop;
}

void writeUCI(const int d) const {
void writeUCI(const int d) {
write("info depth ", d, " score ");
if (score > Score.high) write("mate ", (Score.mate + 1 - score) / 2);
else if (score < -Score.high) write("mate ", -(Score.mate + score) / 2);
Expand Down

0 comments on commit b4e4c8d

Please sign in to comment.