mirror of
https://github.com/UpsilonNumworks/Upsilon.git
synced 2026-03-30 12:10:03 +02:00
[poincare] SymbolAbstract is parent of Symbol and Function
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user