Fix title mistake in b_main

This commit is contained in:
2024-06-17 19:07:15 +02:00
parent 8f92b74260
commit 3acc34e4c6

View File

@@ -114,8 +114,8 @@ int main(int argc, char** argv)
throw runtime_error("hyperparameters and hyper_file are mutually exclusive"); throw runtime_error("hyperparameters and hyper_file are mutually exclusive");
} }
title = program.get<std::string>("title"); title = program.get<std::string>("title");
if (title == "" && file_name == "") { if (title == "" && file_name == "all") {
throw runtime_error("title is mandatory if dataset is not provided"); throw runtime_error("title is mandatory if all datasets are to be tested");
} }
saveResults = program.get<bool>("save"); saveResults = program.get<bool>("save");
} }