mirror of
https://github.com/UpsilonNumworks/Upsilon.git
synced 2026-03-21 14:50:44 +01:00
Revert "[poincare] Rename addChildTreeAtIndex -> addChildAtIndex"
This reverts commit afd01f34e1.
This commit is contained in:
@@ -23,7 +23,7 @@ ExpressionReference ExpressionNode::replaceSymbolWithExpression(char symbol, Exp
|
||||
for (int i = 0; i < nbChildren; i++) {
|
||||
ExpressionReference newChild = reference.childAtIndex(i).node()->replaceSymbolWithExpression(symbol, expression);
|
||||
if (reference.numberOfChildren() < nbChildren) {
|
||||
reference.addChildAtIndex(newChild, i, nbChildren - 1);
|
||||
reference.addChildTreeAtIndex(newChild, i, nbChildren - 1);
|
||||
} else {
|
||||
reference.replaceTreeChildAtIndex(i, newChild);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user