Skip to content

Commit 624a87b

Browse files
committed
clang format again
1 parent 2170d8b commit 624a87b

File tree

2 files changed

+2
-8
lines changed

2 files changed

+2
-8
lines changed

src/01_center_variables.cpp

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,8 @@
11
#include "00_main.h"
22

33
// Method of alternating projections (Halperin)
4-
void center_variables_(Mat<double> &V, const Col<double> &w,
5-
const list &klist, const double &tol,
6-
const int &maxiter) {
4+
void center_variables_(Mat<double> &V, const Col<double> &w, const list &klist,
5+
const double &tol, const int &maxiter) {
76
// Auxiliary variables (fixed)
87
const size_t I = static_cast<size_t>(maxiter);
98
const size_t N = V.n_rows;

src/05_glm_fit.cpp

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -416,11 +416,6 @@ Col<double> variance_(const Col<double> &mu, const double &theta,
416416
writable::strings({"coefficients", "eta", "weights", "hessian",
417417
"deviance", "null_deviance", "conv", "iter"});
418418

419-
// if (keep_mx) {
420-
// out.push_back({"MX"_nm = as_doubles_matrix(center_variables_(
421-
// as_Mat(x_r), w, k_list, center_tol, iter_center_max))});
422-
// }
423-
424419
if (keep_mx) {
425420
Mat<double> x_cpp = as_Mat(x_r);
426421
center_variables_(x_cpp, w, k_list, center_tol, iter_center_max);

0 commit comments

Comments
 (0)