[poincare] SymbolAbstract is parent of Symbol and Function

This commit is contained in:
Léa Saviot
2018-10-08 12:05:39 +02:00
committed by Émilie Feral
parent c3043f47d4
commit 6197ebd4c5
15 changed files with 139 additions and 66 deletions

View File

@@ -29,7 +29,7 @@ void VariableContext::setExpressionForSymbol(const Expression & expression, cons
}
}
const Expression VariableContext::expressionForSymbol(const Symbol & symbol) {
const Expression VariableContext::expressionForSymbol(const SymbolAbstract & symbol) {
if (strcmp(symbol.name(), m_name) == 0) {
return m_value;
} else {