diff options
Diffstat (limited to 'Project/ControlElement.h')
-rw-r--r-- | Project/ControlElement.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Project/ControlElement.h b/Project/ControlElement.h index 434e535..dbff95e 100644 --- a/Project/ControlElement.h +++ b/Project/ControlElement.h @@ -102,7 +102,8 @@ class ControlElement : public Element virtual bool UpdateText() { return true; } virtual bool IsSolved() const { return m_solved; } virtual void SetSolved(bool solved = true) { m_solved = solved; } - virtual bool Solve(double input, double timeStep); + virtual bool Solve(double* input, double timeStep); + virtual bool Initialize() { return true; } virtual double GetOutput() const { return m_output; } virtual void SetOutput(double output) { m_output = output; } protected: |