From 586ff94d4bffcaf256e4ca7150b926c1babecada Mon Sep 17 00:00:00 2001 From: Thales Lima Oliveira Date: Mon, 9 Apr 2018 17:59:49 -0300 Subject: More bugfixes --- Project/MathExpression.cpp | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'Project/MathExpression.cpp') diff --git a/Project/MathExpression.cpp b/Project/MathExpression.cpp index 0577c32..1657880 100644 --- a/Project/MathExpression.cpp +++ b/Project/MathExpression.cpp @@ -175,10 +175,7 @@ bool MathExpression::Solve(double* input, double timeStep) for(auto itCN = nodeList.begin(), itCNEnd = nodeList.end(); itCN != itCNEnd; ++itCN) { Node* childNode = *itCN; if(childNode == node) { - if(!cLine->IsSolved()) - m_inputValues[i] = 0.0; - else - m_inputValues[i] = cLine->GetValue(); + m_inputValues[i] = cLine->GetValue(); break; } } -- cgit