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/Sum.cpp | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'Project/Sum.cpp') diff --git a/Project/Sum.cpp b/Project/Sum.cpp index 6d15e7f..9908497 100644 --- a/Project/Sum.cpp +++ b/Project/Sum.cpp @@ -218,10 +218,7 @@ bool Sum::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()) - inputVector.push_back(0.0); - else - inputVector.push_back(cLine->GetValue()); + inputVector.push_back(cLine->GetValue()); break; } } -- cgit