From 5cd624a8ae93d0bb5f039daf6874f46cee443520 Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Mon, 2 Dec 2013 10:28:08 +0100 Subject: accela: remove nonsense non-zero minimum Signed-off-by: Stanislaw Halik --- ftnoir_filter_accela/ftnoir_filter_accela.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ftnoir_filter_accela/ftnoir_filter_accela.cpp b/ftnoir_filter_accela/ftnoir_filter_accela.cpp index fd47f18d..09f74e5a 100644 --- a/ftnoir_filter_accela/ftnoir_filter_accela.cpp +++ b/ftnoir_filter_accela/ftnoir_filter_accela.cpp @@ -70,7 +70,7 @@ static inline double parabola(const double a, const double x, const double dz, c { const double sign = x > 0 ? 1 : -1; const double a1 = 1./a; - return a1 * pow(std::max(fabs(x) - dz, 1e-3), expt) * sign; + return a1 * pow(std::max(fabs(x) - dz, 0), expt) * sign; } template -- cgit v1.2.3