aboutsummaryrefslogtreecommitdiff
path: root/src/logistic.h
diff options
context:
space:
mode:
authorPjotr Prins2017-11-11 07:27:08 +0000
committerPjotr Prins2017-11-11 07:27:08 +0000
commitbd1195dbe0759aa48ac4360313640d4bb8517f34 (patch)
treef857092ae33fb40e956dabd36c4c89446591ee31 /src/logistic.h
parent47b3260e7842656f1882686a593bb374545158dc (diff)
downloadpangemma-bd1195dbe0759aa48ac4360313640d4bb8517f34.tar.gz
Cleaning up compiler warnings
Diffstat (limited to 'src/logistic.h')
-rw-r--r--src/logistic.h6
1 files changed, 3 insertions, 3 deletions
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