diff --git a/src/settings/SettingsManager.cpp b/src/settings/SettingsManager.cpp index 18225f712..618fbfe77 100644 --- a/src/settings/SettingsManager.cpp +++ b/src/settings/SettingsManager.cpp @@ -137,7 +137,7 @@ namespace storm { } // Finally, check whether all modules are okay with the current settings. - this->checkAllModules(); + this->finalizeAllModules(); } void SettingsManager::setFromConfigurationFile(std::string const& configFilename) { @@ -162,6 +162,8 @@ namespace storm { } } } + // Finally, check whether all modules are okay with the current settings. + this->finalizeAllModules(); } void SettingsManager::printHelp(std::string const& hint) const { @@ -379,9 +381,11 @@ namespace storm { } } - void SettingsManager::checkAllModules() const { + void SettingsManager::finalizeAllModules() { for (auto const& nameModulePair : this->modules) { + nameModulePair.second->finalize(); nameModulePair.second->check(); + } } diff --git a/src/settings/SettingsManager.h b/src/settings/SettingsManager.h index f4fad9919..fd00654c3 100644 --- a/src/settings/SettingsManager.h +++ b/src/settings/SettingsManager.h @@ -189,9 +189,10 @@ namespace storm { static void addOptionToMap(std::string const& name, std::shared_ptr