From 8d98403748205fe7ea06ffc89b2a49b6598ace27 Mon Sep 17 00:00:00 2001 From: dehnert Date: Tue, 10 Nov 2015 15:17:58 +0100 Subject: [PATCH] small fix for use of carl Former-commit-id: 63a0e38cf512377d30fdb474e87ab5a7da76914f --- src/storage/expressions/ToRationalFunctionVisitor.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/storage/expressions/ToRationalFunctionVisitor.cpp b/src/storage/expressions/ToRationalFunctionVisitor.cpp index d2d86b716..97501aa1b 100644 --- a/src/storage/expressions/ToRationalFunctionVisitor.cpp +++ b/src/storage/expressions/ToRationalFunctionVisitor.cpp @@ -65,7 +65,7 @@ namespace storm { if (variablePair != variableToVariableMap.end()) { return convertVariableToPolynomial(variablePair->second); } else { - carl::Variable carlVariable = carl::freshVariable(expression.getVariableName(), carl::VariableType::VT_REAL); + carl::Variable carlVariable = carl::freshRealVariable(expression.getVariableName()); variableToVariableMap.emplace(expression.getVariable(), carlVariable); return convertVariableToPolynomial(carlVariable); }