summaryrefslogtreecommitdiffstats
path: root/Project/RateLimiter.cpp
diff options
context:
space:
mode:
authorThales Lima Oliveira <thaleslima.ufu@gmail.com>2017-12-20 20:45:35 -0200
committerThales Lima Oliveira <thaleslima.ufu@gmail.com>2017-12-20 20:45:35 -0200
commitc6d815b6b11504be68d7a97df63cfef749624418 (patch)
tree750161c22282c781ab9c62fec84c8de50dfb230f /Project/RateLimiter.cpp
parent54bb80251432ff49c967115f8401e7dafc5c57d6 (diff)
downloadPSP.git-c6d815b6b11504be68d7a97df63cfef749624418.tar.gz
PSP.git-c6d815b6b11504be68d7a97df63cfef749624418.tar.xz
PSP.git-c6d815b6b11504be68d7a97df63cfef749624418.zip
Math expr GUI implemented
Diffstat (limited to 'Project/RateLimiter.cpp')
-rw-r--r--Project/RateLimiter.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Project/RateLimiter.cpp b/Project/RateLimiter.cpp
index afba0ee..b9235a7 100644
--- a/Project/RateLimiter.cpp
+++ b/Project/RateLimiter.cpp
@@ -110,7 +110,7 @@ void RateLimiter::UpdatePoints()
}
}
-bool RateLimiter::Solve(double input, double timeStep)
+bool RateLimiter::Solve(double input, double timeStep, double currentTime)
{
double rate = (input - m_output) / timeStep;