summaryrefslogtreecommitdiffstats
path: root/lib/gamma_pdf.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/gamma_pdf.c
parent07e18043145f3d91c8ea7ec3ad41b3c905585277 (diff)
refactormain
Diffstat (limited to 'lib/gamma_pdf.c')
-rw-r--r--lib/gamma_pdf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/gamma_pdf.c b/lib/gamma_pdf.c
index 977f8b7..7a8370c 100644
--- a/lib/gamma_pdf.c
+++ b/lib/gamma_pdf.c
@@ -34,7 +34,7 @@ int ts_gamma_pdf(
{
TS_PROLOGUE( ts_gamma_pdf_p );
if ( !c ) return -1;
- fp_t shape = ((ts_gamma_pdf_params_t *)c)->shape;
+ fp_t shape = ((ts_gamma_pdf_params_t const *)c)->shape;
if (shape <= 0.0) return -1;
for( uint_t i = 0; i < n; ++i )