diff options
Diffstat (limited to 'lib/chi_squared_pdf.c')
| -rw-r--r-- | lib/chi_squared_pdf.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/chi_squared_pdf.c b/lib/chi_squared_pdf.c index 7f2ba09..7a3c7df 100644 --- a/lib/chi_squared_pdf.c +++ b/lib/chi_squared_pdf.c @@ -31,7 +31,7 @@ int ts_chi_squared_pdf( { TS_PROLOGUE( ts_chi_squared_pdf_p ); if ( !c ) return -1; - fp_t k = ((ts_chi_squared_pdf_params_t *)c)->k; + fp_t k = ((ts_chi_squared_pdf_params_t const *)c)->k; if ( k <= 0 ) { for( uint_t i = 0; i < n; ++i ) y[0][i] = 0; |