Browse Source

Merge branch 'master' into future

Former-commit-id: 1ac7368569
tempestpy_adaptions
TimQu 9 years ago
parent
commit
e8304e7515
  1. 2
      src/storage/expressions/ToRationalFunctionVisitor.cpp

2
src/storage/expressions/ToRationalFunctionVisitor.cpp

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

Loading…
Cancel
Save