diff options
-rw-r--r-- | ftnoir_filter_accela/ftnoir_filter_accela.cpp | 2 |
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>
|