summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--filter-accela/ftnoir_filter_accela.cpp5
1 files changed, 0 insertions, 5 deletions
diff --git a/filter-accela/ftnoir_filter_accela.cpp b/filter-accela/ftnoir_filter_accela.cpp
index b95de697..c6813b8e 100644
--- a/filter-accela/ftnoir_filter_accela.cpp
+++ b/filter-accela/ftnoir_filter_accela.cpp
@@ -154,11 +154,6 @@ void accela::filter(const double* input, double *output)
output[k] *= dt;
output[k] += last_output[k];
- if (signum(last_output[k] - output[k]) >= 0)
- output[k] = std::fmax(input[k], output[k]);
- else
- output[k] = std::fmin(input[k], output[k]);
-
last_output[k] = output[k];
}
}