From 8d097058fe51feee97e12cc8925c8e422a59bd31 Mon Sep 17 00:00:00 2001 From: rektdie Date: Wed, 12 Mar 2025 19:20:45 +0100 Subject: [PATCH] major bugfix in parseposition | bench 4118297 --- source/uci.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/uci.cpp b/source/uci.cpp index df80e11..36e8b5d 100644 --- a/source/uci.cpp +++ b/source/uci.cpp @@ -23,7 +23,7 @@ void ParsePosition(Board &board, std::string_view command) { if (movesIndex != std::string::npos) { board.SetByFen(command.substr(fenIndex + 4, movesIndex - 2 - (fenIndex + 3))); } else { - std::cout << (command.substr(fenIndex + 4, command.length() - (fenIndex + 3))); + board.SetByFen(command.substr(fenIndex + 4, command.length() - (fenIndex + 3))); } }