From b4e4c8d3cfbd7569b53d8a4f6e8b4fed1ff1c5ea Mon Sep 17 00:00:00 2001 From: Richard Delorme Date: Sat, 26 Dec 2020 09:46:32 +0100 Subject: [PATCH] Correct pv --- src/search.d | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/search.d b/src/search.d index 5b4920b..dcdae0a 100644 --- a/src/search.d +++ b/src/search.d @@ -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);