summaryrefslogtreecommitdiffstats
path: root/lib/trix.c
diff options
context:
space:
mode:
authorEthan Werner <mail@ethanwerner.com>2026-08-09 15:02:21 +0400
committerEthan Werner <mail@ethanwerner.com>2026-08-09 15:02:21 +0400
commit3d92926a902017e7cf1f5738e99ff62da596ce12 (patch)
tree2b55422c26a48759d56fa91f06df24449e9dfa88 /lib/trix.c
parent07e18043145f3d91c8ea7ec3ad41b3c905585277 (diff)
refactormain
Diffstat (limited to 'lib/trix.c')
-rwxr-xr-xlib/trix.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/trix.c b/lib/trix.c
index a9aac88..ee5ed71 100755
--- a/lib/trix.c
+++ b/lib/trix.c
@@ -31,9 +31,8 @@ int ts_trix(
{
TS_PROLOGUE( ts_trix_p );
if ( !c ) return -1;
- if (n == 0) return -1;
- fp_t a = ((ts_trix_params_t *)c)->a;
+ fp_t a = ((ts_trix_params_t const *)c)->a;
if (a == 0) return -1;
fp_t ema1 = x[0][0];