Skip to content

Commit 4d4e1ab

Browse files
authored
Fix FEN setting in engine loop
1 parent ed208f1 commit 4d4e1ab

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

uci.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,7 @@ void engine::report(std::string_view bestmove) {
158158
}
159159
void engine::loop() {
160160
std::string line;
161-
pos.setFen(pos.START_FEN);
161+
pos.setFEN(chess::PositionSTART_FEN);
162162

163163
while (std::getline(std::cin, line)) {
164164
std::istringstream ss(line);

0 commit comments

Comments
 (0)