summaryrefslogtreecommitdiffstats
path: root/Project/Divider.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Project/Divider.cpp')
-rw-r--r--Project/Divider.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/Project/Divider.cpp b/Project/Divider.cpp
index c458002..3f7027d 100644
--- a/Project/Divider.cpp
+++ b/Project/Divider.cpp
@@ -33,8 +33,9 @@ void Divider::DrawSymbol() const
DrawCircle(m_position + wxPoint2DDouble(0, 3), 2, 10, GL_POLYGON);
}
-bool Divider::Solve(double input, double timeStep, double currentTime)
+bool Divider::Solve(double* input, double timeStep)
{
+ // Get the input vector from connection lines (can't use default (one) input argument)
std::vector<double> inputVector;
for(auto itN = m_nodeList.begin(), itNEnd = m_nodeList.end(); itN != itNEnd; ++itN) {
Node* node = *itN;