summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2013-12-02 10:28:08 +0100
committerStanislaw Halik <sthalik@misaki.pl>2013-12-02 10:28:08 +0100
commit5cd624a8ae93d0bb5f039daf6874f46cee443520 (patch)
tree27da6737f3723ec45a41e31e0b54ae885cae846f
parent16d0d632ea10f25845407b4fb483a5d8c83260d4 (diff)
accela: remove nonsense non-zero minimum
Signed-off-by: Stanislaw Halik <sthalik@misaki.pl>
-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 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<double>(fabs(x) - dz, 1e-3), expt) * sign;
+ return a1 * pow(std::max<double>(fabs(x) - dz, 0), expt) * sign;
}
template<typename T>