summaryrefslogtreecommitdiffstats
path: root/lib/exponential.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/exponential.c
parent07e18043145f3d91c8ea7ec3ad41b3c905585277 (diff)
Diffstat (limited to 'lib/exponential.c')
-rw-r--r--lib/exponential.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/exponential.c b/lib/exponential.c
index b3a6205..a4e19c9 100644
--- a/lib/exponential.c
+++ b/lib/exponential.c
@@ -36,7 +36,7 @@ int ts_exponential(
{
TS_PROLOGUE( ts_exponential_p );
if ( !c ) return -1;
- fp_t b = ((ts_exponential_params_t *)c)->b;
+ fp_t b = ((ts_exponential_params_t const *)c)->b;
if (b <= 0) return -1;
for( uint_t i = 0; i < n; ++i )