X-Git-Url: https://git.sesse.net/?p=stockfish;a=blobdiff_plain;f=src%2Fuci.cpp;h=c6da2fc4851acee54e5b60f140cb054d3066e5f5;hp=4c3faf05c02c07999017594728c1249213dd4b2d;hb=c2fc80e5d16339266b5bf6687fa843ff65de3b3e;hpb=0439a79566d03065317b2025b9b479b9ae9f2d65 diff --git a/src/uci.cpp b/src/uci.cpp index 4c3faf05..c6da2fc4 100644 --- a/src/uci.cpp +++ b/src/uci.cpp @@ -56,7 +56,7 @@ namespace { void uci_loop(const string& args) { - Position pos(StartFEN, false, 0); // The root position + Position pos(StartFEN, false, Threads.main_thread()); // The root position string cmd, token; while (token != "quit") @@ -167,7 +167,7 @@ namespace { else return; - pos.from_fen(fen, Options["UCI_Chess960"]); + pos.from_fen(fen, Options["UCI_Chess960"], Threads.main_thread()); // Parse move list (if any) while (is >> token && (m = move_from_uci(pos, token)) != MOVE_NONE)