We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7473d64 commit 04d8d15Copy full SHA for 04d8d15
src/analyser.cpp
@@ -483,8 +483,8 @@ void Analyser::AnalyserImpl::analyseNode(const XmlNodePtr &node,
483
// +-------------+
484
485
auto childCount = mathmlChildCount(node);
486
- AnalyserEquationAstPtr tempAst;
487
AnalyserEquationAstPtr astRightChild;
+ AnalyserEquationAstPtr tempAst;
488
489
for (size_t i = childCount - 1; i > 0; --i) {
490
astRightChild = tempAst;
@@ -493,6 +493,7 @@ void Analyser::AnalyserImpl::analyseNode(const XmlNodePtr &node,
493
if (astRightChild != nullptr) {
494
if (i == childCount - 2) {
495
astRightChild->swapLeftAndRightChildren();
496
+
497
tempAst = astRightChild;
498
} else {
499
astRightChild->mPimpl->mParent = tempAst;
0 commit comments