From 7ab88457a71851fe7d1245d0aedebac1c4fdff5c Mon Sep 17 00:00:00 2001 From: dehnert Date: Thu, 11 Aug 2016 18:07:58 +0200 Subject: [PATCH] corrected reference to wrong settings module Former-commit-id: 2f35b2dc82efbb76fed5fb17696a13599d9fadd7 --- src/storm.cpp | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/src/storm.cpp b/src/storm.cpp index 0d23f9ecc..236d15a7b 100644 --- a/src/storm.cpp +++ b/src/storm.cpp @@ -6,6 +6,7 @@ #include "src/utility/initialize.h" #include "src/settings/SettingsManager.h" +#include "src/settings/modules/GeneralSettings.h" /*! * Main entry point of the executable storm. @@ -13,7 +14,7 @@ int main(const int argc, const char** argv) { try { - auto starttime = std::chrono::high_resolution_clock::now(); + auto start = std::chrono::high_resolution_clock::now(); storm::utility::setUp(); storm::cli::printHeader("Storm", argc, argv); storm::settings::initializeAll("Storm", "storm"); @@ -27,11 +28,11 @@ int main(const int argc, const char** argv) { // All operations have now been performed, so we clean up everything and terminate. storm::utility::cleanUp(); - auto endtime = std::chrono::high_resolution_clock::now(); - auto duration = std::chrono::duration_cast(endtime-starttime); - auto durationSec = std::chrono::duration_cast(endtime-starttime); - if(storm::settings::getModule().isPrintTimingsSet()) { - std::cout << "Overal runtime: " << duration.count() << " ms. ( approx " << durationSec.count() << " seconds)." << std::endl; + auto end = std::chrono::high_resolution_clock::now(); + auto duration = std::chrono::duration_cast(end - start); + auto durationSec = std::chrono::duration_cast(end - start); + if(storm::settings::getModule().isPrintTimingsSet()) { + std::cout << "Overal runtime: " << duration.count() << " ms. (approximately " << durationSec.count() << " seconds)." << std::endl; } return 0; } catch (storm::exceptions::BaseException const& exception) {