diff options
| author | Ethan Werner <mail@ethanwerner.com> | 2026-08-09 15:02:21 +0400 |
|---|---|---|
| committer | Ethan Werner <mail@ethanwerner.com> | 2026-08-09 15:02:21 +0400 |
| commit | 3d92926a902017e7cf1f5738e99ff62da596ce12 (patch) | |
| tree | 2b55422c26a48759d56fa91f06df24449e9dfa88 /lib/poisson_pdf.c | |
| parent | 07e18043145f3d91c8ea7ec3ad41b3c905585277 (diff) | |
refactormain
Diffstat (limited to 'lib/poisson_pdf.c')
| -rw-r--r-- | lib/poisson_pdf.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/poisson_pdf.c b/lib/poisson_pdf.c index e1e2d59..60a62ac 100644 --- a/lib/poisson_pdf.c +++ b/lib/poisson_pdf.c @@ -34,7 +34,7 @@ int ts_poisson_pdf( { TS_PROLOGUE( ts_poisson_pdf_p ); if ( !c ) return -1; - fp_t lambda = ((ts_poisson_pdf_params_t *)c)->lambda; + fp_t lambda = ((ts_poisson_pdf_params_t const *)c)->lambda; if (lambda < 0.0 || isnan(lambda) || isinf(lambda)) return -1; for( uint_t i = 0; i < n; ++i ) { |