From ab064837d3c6ea6c07712fd89652f856ed16a6be Mon Sep 17 00:00:00 2001 From: Chenxing Luo Date: Sat, 27 Apr 2024 14:07:06 -0400 Subject: [PATCH] Fix namespace in newton_logit_reg.cpp --- tests/unconstrained/newton_logit_reg.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/unconstrained/newton_logit_reg.cpp b/tests/unconstrained/newton_logit_reg.cpp index b63efbd..f3e8a0d 100644 --- a/tests/unconstrained/newton_logit_reg.cpp +++ b/tests/unconstrained/newton_logit_reg.cpp @@ -87,7 +87,7 @@ int main() int n_dim = 5; // dimension of theta int n_samp = 1000; // sample length - Mat_t X = optim::bmo::stats::rsnorm_mat(n_samp,n_dim); + Mat_t X = bmo::stats::rsnorm_mat(n_samp,n_dim); ColVec_t theta_0 = BMO_MATOPS_ARRAY_ADD_SCALAR(3.0 * BMO_MATOPS_RANDU_VEC(n_dim), 1.0); BMO_MATOPS_COUT << "\nTrue theta:\n" << theta_0 << "\n";