fixed bug in main.cpp where UCILoop didnt work + rounding nps on print

This commit is contained in:
rektdie committed 2024-10-15 12:28:29 +02:00
1 parent c1e048c0c6
commit 40bf1753f0
3 files changed
+6 -4

No files matched your search

+4 -2
View File
@@ -11,8 +11,10 @@ int main(int argc, char* argv[]) {
Board board;
if (std::string(argv[1]) == "bench") {
RunBenchmark();
if (argc > 1) {
if (std::string(argv[1]) == "bench") {
RunBenchmark();
}
} else {
UCILoop(board);
}