diff --git a/src/settings/SettingsManager.cpp b/src/settings/SettingsManager.cpp index fffb10366..01041f5cd 100644 --- a/src/settings/SettingsManager.cpp +++ b/src/settings/SettingsManager.cpp @@ -72,11 +72,12 @@ namespace storm { void SettingsManager::setFromString(std::string const& commandLineString) { if (commandLineString.empty()) { - return; + this->setFromExplodedString({}); + } else { + std::vector argumentVector; + boost::split(argumentVector, commandLineString, boost::is_any_of("\t ")); + this->setFromExplodedString(argumentVector); } - std::vector argumentVector; - boost::split(argumentVector, commandLineString, boost::is_any_of("\t ")); - this->setFromExplodedString(argumentVector); } void SettingsManager::setFromExplodedString(std::vector const& commandLineArguments) { @@ -548,4 +549,4 @@ namespace storm { return dynamic_cast(manager().getModule(storm::settings::modules::SparseDtmcEliminationModelCheckerSettings::moduleName)); } } -} \ No newline at end of file +}