mirror of
https://github.com/UpsilonNumworks/Upsilon.git
synced 2026-03-18 21:30:38 +01:00
[poincare] Constant symbol are not variables
This commit is contained in:
@@ -68,7 +68,7 @@ int SymbolNode::getVariables(Context & context, isVariableTest isVariable, char
|
||||
while(variables[variablesIndex] != 0) {
|
||||
variablesIndex+= maxSizeVariable;
|
||||
}
|
||||
if (isVariable(m_name)) {
|
||||
if (!isConstant() && isVariable(m_name)) {
|
||||
int index = 0;
|
||||
while (variables[index] != 0) {
|
||||
if (strcmp(m_name, &variables[index]) == 0) {
|
||||
|
||||
Reference in New Issue
Block a user