summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/MemlessPoly.cpp11
1 files changed, 6 insertions, 5 deletions
diff --git a/src/MemlessPoly.cpp b/src/MemlessPoly.cpp
index ccb3a7b..dc0dd31 100644
--- a/src/MemlessPoly.cpp
+++ b/src/MemlessPoly.cpp
@@ -150,11 +150,12 @@ static void apply_coeff(
float in_10 = in_6 * in_4;
out[i] = in[i] *
(
- coefs[0] * in_2 +
- coefs[1] * in_4 +
- coefs[2] * in_6 +
- coefs[3] * in_8 +
- coefs[4] * in_10
+ coefs[0] +
+ coefs[1] * in_2 +
+ coefs[2] * in_4 +
+ coefs[3] * in_6 +
+ coefs[4] * in_8 +
+ coefs[5] * in_10
);
}
}