summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--filter-accela/ftnoir_accela_filtercontrols.ui2
-rw-r--r--filter-accela/ftnoir_filter_accela.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/filter-accela/ftnoir_accela_filtercontrols.ui b/filter-accela/ftnoir_accela_filtercontrols.ui
index 22c18b10..74356aa8 100644
--- a/filter-accela/ftnoir_accela_filtercontrols.ui
+++ b/filter-accela/ftnoir_accela_filtercontrols.ui
@@ -416,7 +416,7 @@
<number>0</number>
</property>
<property name="maximum">
- <number>12</number>
+ <number>10</number>
</property>
<property name="pageStep">
<number>2</number>
diff --git a/filter-accela/ftnoir_filter_accela.cpp b/filter-accela/ftnoir_filter_accela.cpp
index bdf8067d..38c32392 100644
--- a/filter-accela/ftnoir_filter_accela.cpp
+++ b/filter-accela/ftnoir_filter_accela.cpp
@@ -123,7 +123,7 @@ void accela::filter(const double* input, double *output)
{
for (unsigned k = 3; k < 6; k++)
{
- static constexpr double nl_end = 1.5;
+ static constexpr double nl_end = 5;
if (fabs(deltas[k]) <= nl_end)
deltas[k] = copysign(pow(fabs(deltas[k]/nl_end), nl) * nl_end, deltas[k]);