diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2016-05-13 13:19:31 +0200 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2016-05-13 13:19:31 +0200 |
commit | 74d9f5e31428ef362033a63c10b781d943c5e5a5 (patch) | |
tree | 71e11ed620fa1d76577df07846e910970fe9210b /filter-kalman | |
parent | 41a92ea7401c89c5696b3e1b2fa239458a92ff73 (diff) |
many: remove unneeded implicit type conversion double <-> float
Diffstat (limited to 'filter-kalman')
-rw-r--r-- | filter-kalman/kalman.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/filter-kalman/kalman.cpp b/filter-kalman/kalman.cpp index 39a08703..0e7537d1 100644 --- a/filter-kalman/kalman.cpp +++ b/filter-kalman/kalman.cpp @@ -80,7 +80,7 @@ void FTNoIR_Filter::filter(const double* input, double *output) if (!timer.isValid()) timer.start(); // Get the time in seconds since last run and restart the timer. - auto dt = timer.restart() / 1000.0f; + const double dt = timer.restart() / 1000; // Note this is a terrible way to detect when there is a new // frame of tracker input, but it is the best we have. bool new_input = false; |