Browse Source

small fix for use of carl

Former-commit-id: 63a0e38cf5
tempestpy_adaptions
dehnert 9 years ago
parent
commit
8d98403748
  1. 2
      src/storage/expressions/ToRationalFunctionVisitor.cpp

2
src/storage/expressions/ToRationalFunctionVisitor.cpp

@ -65,7 +65,7 @@ namespace storm {
if (variablePair != variableToVariableMap.end()) { if (variablePair != variableToVariableMap.end()) {
return convertVariableToPolynomial(variablePair->second); return convertVariableToPolynomial(variablePair->second);
} else { } else {
carl::Variable carlVariable = carl::freshVariable(expression.getVariableName(), carl::VariableType::VT_REAL);
carl::Variable carlVariable = carl::freshRealVariable(expression.getVariableName());
variableToVariableMap.emplace(expression.getVariable(), carlVariable); variableToVariableMap.emplace(expression.getVariable(), carlVariable);
return convertVariableToPolynomial(carlVariable); return convertVariableToPolynomial(carlVariable);
} }

Loading…
Cancel
Save