summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2015-10-25 18:56:15 +0100
committerStanislaw Halik <sthalik@misaki.pl>2015-10-25 18:57:39 +0100
commitc2a3efda4bf955189e549c0f130f81135827d4ed (patch)
tree1d22b5744c2117adb853e8a5ca44d5b26909004b
parent7be318b0ed09705bfbc62adc25c8b1a399b1f656 (diff)
accela: fix typoopentrack-2.3-rc19p3
Issue: #255
-rw-r--r--ftnoir_filter_accela/ftnoir_filter_accela.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/ftnoir_filter_accela/ftnoir_filter_accela.cpp b/ftnoir_filter_accela/ftnoir_filter_accela.cpp
index 80636f42..0158f27e 100644
--- a/ftnoir_filter_accela/ftnoir_filter_accela.cpp
+++ b/ftnoir_filter_accela/ftnoir_filter_accela.cpp
@@ -89,7 +89,7 @@ void FTNoIR_Filter::filter(const double* input, double *output)
{
Map& m = i >= 3 ? rot : trans;
- smoothed_input[i] = smoothed_input[i] * (1.-alpha) + smoothed_input[i] * alpha;
+ smoothed_input[i] = smoothed_input[i] * (1.-alpha) + input[i] * alpha;
const double in = smoothed_input[i];