From c26cdc90122915a00dfa0942b0bd3958efd865a3 Mon Sep 17 00:00:00 2001 From: Mavo Date: Tue, 26 Jan 2016 17:20:01 +0100 Subject: [PATCH] Wrong assertion Former-commit-id: e6b64dcb8aeaeaff1348697de4dfcf18c9c5ec10 --- src/parser/DFTGalileoParser.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/parser/DFTGalileoParser.cpp b/src/parser/DFTGalileoParser.cpp index 05dc5773a..57dec65d1 100644 --- a/src/parser/DFTGalileoParser.cpp +++ b/src/parser/DFTGalileoParser.cpp @@ -75,7 +75,7 @@ namespace storm { toplevelId = stripQuotsFromName(line.substr(toplevelToken.size() + 1)); } else if (boost::starts_with(line, parametricToken)) { - STORM_LOG_THROW((!std::is_same::value), storm::exceptions::NotSupportedException, "Parameters only allowed when using rational functions."); + STORM_LOG_THROW((std::is_same::value), storm::exceptions::NotSupportedException, "Parameters only allowed when using rational functions."); std::string parameter = stripQuotsFromName(line.substr(parametricToken.size() + 1)); storm::expressions::Variable var = manager->declareRationalVariable(parameter); identifierMapping.emplace(var.getName(), var);