summaryrefslogtreecommitdiffstats
path: root/lib/student_t_pdf.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/student_t_pdf.c')
-rw-r--r--lib/student_t_pdf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/student_t_pdf.c b/lib/student_t_pdf.c
index 67c9f1d..ad8f256 100644
--- a/lib/student_t_pdf.c
+++ b/lib/student_t_pdf.c
@@ -34,7 +34,7 @@ int ts_student_t_pdf(
{
TS_PROLOGUE( ts_student_t_pdf_p );
if ( !c ) return -1;
- fp_t nu = ((ts_student_t_pdf_params_t *)c)->nu;
+ fp_t nu = ((ts_student_t_pdf_params_t const *)c)->nu;
if ( nu <= 0 )
{
for( uint_t i = 0; i < n; ++i ) y[0][i] = 0;