From bd1195dbe0759aa48ac4360313640d4bb8517f34 Mon Sep 17 00:00:00 2001 From: Pjotr Prins Date: Sat, 11 Nov 2017 07:27:08 +0000 Subject: Cleaning up compiler warnings --- src/logistic.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/logistic.h') diff --git a/src/logistic.h b/src/logistic.h index bebcbf6..c8c0cb3 100644 --- a/src/logistic.h +++ b/src/logistic.h @@ -58,8 +58,8 @@ int logistic_cont_fit(gsl_vector *beta, // Vector of parameters double lambdaL1, // Regularization L1, 0 if not used. double lambdaL2); // Regularization L2, 0 if not used. -double fLogit_cont(gsl_vector *beta, - gsl_matrix *Xc, // Continuous covariates matrix Nobs x Kc. - gsl_vector *y, double lambdaL1, double lambdaL2); +double fLogit_cont(const gsl_vector *beta, + const gsl_matrix *Xc, // Continuous covariates matrix Nobs x Kc. + const gsl_vector *y, double lambdaL1, double lambdaL2); #endif -- cgit v1.2.3