Fix upper case typo

This commit is contained in:
Ricardo Montañana Gómez 2023-11-26 10:55:32 +01:00
parent c713c0b1df
commit 7c12dd25e5
Signed by: rmontanana
GPG Key ID: 46064262FD9A7ADE

View File

@ -108,7 +108,7 @@ namespace platform {
// Load previous results
json results;
auto datasets_names = datasets.getNames();
if (config.continue_from != "no") {
if (config.continue_from != "No") {
if (std::find(datasets_names.begin(), datasets_names.end(), config.continue_from) == datasets_names.end()) {
throw std::invalid_argument("Dataset " + config.continue_from + " not found");
}