summaryrefslogtreecommitdiffstats
path: root/lib/trix.c
diff options
context:
space:
mode:
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];