diff --git a/src/storm-dft/storage/dft/DftJsonExporter.cpp b/src/storm-dft/storage/dft/DftJsonExporter.cpp index 8c76959b5..d1bf4f42d 100644 --- a/src/storm-dft/storage/dft/DftJsonExporter.cpp +++ b/src/storm-dft/storage/dft/DftJsonExporter.cpp @@ -82,8 +82,9 @@ namespace storm { std::stringstream stream; stream << be->activeFailureRate(); nodeData["rate"] = stream.str(); - stream.clear(); - stream << (be->passiveFailureRate() / be->activeFailureRate()); + stream.str(std::string()); // Clear stringstream + ValueType dormancy = be->passiveFailureRate() / be->activeFailureRate(); + stream << dormancy; nodeData["dorm"] = stream.str(); }