summaryrefslogtreecommitdiffstats
path: root/Project/ControlElement.h
diff options
context:
space:
mode:
authorThales Lima Oliveira <thaleslima.ufu@gmail.com>2018-01-08 20:07:47 -0200
committerThales Lima Oliveira <thaleslima.ufu@gmail.com>2018-01-08 20:07:47 -0200
commitc11a42ee83fcf535557d4f2cc259efae2da1b7ff (patch)
tree13fd8f4449f2cfeed8a6185e96a6889f9529285d /Project/ControlElement.h
parent95f61a7cad71c45c9e27af5c6f4bc5d64d5ecc45 (diff)
downloadPSP.git-c11a42ee83fcf535557d4f2cc259efae2da1b7ff.tar.gz
PSP.git-c11a42ee83fcf535557d4f2cc259efae2da1b7ff.tar.xz
PSP.git-c11a42ee83fcf535557d4f2cc259efae2da1b7ff.zip
File handling and control initialization organized
Diffstat (limited to 'Project/ControlElement.h')
-rw-r--r--Project/ControlElement.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Project/ControlElement.h b/Project/ControlElement.h
index 6d1593f..51f8df3 100644
--- a/Project/ControlElement.h
+++ b/Project/ControlElement.h
@@ -104,7 +104,7 @@ class ControlElement : public Element
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 Initialize() { return true; }
+ virtual bool Initialize();
virtual double GetOutput() const { return m_output; }
virtual void SetOutput(double output) { m_output = output; }