Skip to content

Commit

Permalink
Merge pull request #68 from chazeon/fix-testing-newton-logit-reg
Browse files Browse the repository at this point in the history
Fix namespace in newton_logit_reg.cpp
  • Loading branch information
kthohr authored Apr 28, 2024
2 parents 248a927 + ab06483 commit 5453f48
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/unconstrained/newton_logit_reg.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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<optim::fp_t>(n_samp,n_dim);
Mat_t X = bmo::stats::rsnorm_mat<optim::fp_t>(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";
Expand Down

0 comments on commit 5453f48

Please sign in to comment.