Skip to content

Commit

Permalink
windows format
Browse files Browse the repository at this point in the history
  • Loading branch information
pachadotdev committed Feb 18, 2024
1 parent da532cc commit c4cd78a
Showing 1 changed file with 9 additions and 8 deletions.
17 changes: 9 additions & 8 deletions src/03_group_sums.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -41,9 +41,10 @@
return as_doubles_matrix(num);
}

[[cpp11::register]] doubles_matrix<> group_sums_spectral_(
const doubles_matrix<> &M_r, const doubles_matrix<> &v_r,
const doubles_matrix<> &w_r, const int K, const list &jlist) {
[[cpp11::register]] doubles_matrix<>
group_sums_spectral_(const doubles_matrix<> &M_r, const doubles_matrix<> &v_r,
const doubles_matrix<> &w_r, const int K,
const list &jlist) {
// Types conversion
Mat<double> M = as_Mat(M_r);
Mat<double> v = as_Mat(v_r);
Expand Down Expand Up @@ -85,8 +86,8 @@
return as_doubles_matrix(num);
}

[[cpp11::register]] doubles_matrix<> group_sums_var_(
const doubles_matrix<> &M_r, const list &jlist) {
[[cpp11::register]] doubles_matrix<>
group_sums_var_(const doubles_matrix<> &M_r, const list &jlist) {
// Types conversion
Mat<double> M = as_Mat(M_r);

Expand Down Expand Up @@ -120,9 +121,9 @@
return as_doubles_matrix(V);
}

[[cpp11::register]] doubles_matrix<> group_sums_cov_(
const doubles_matrix<> &M_r, const doubles_matrix<> &N_r,
const list &jlist) {
[[cpp11::register]] doubles_matrix<>
group_sums_cov_(const doubles_matrix<> &M_r, const doubles_matrix<> &N_r,
const list &jlist) {
// Types conversion
Mat<double> M = as_Mat(M_r);
Mat<double> N = as_Mat(N_r);
Expand Down

0 comments on commit c4cd78a

Please sign in to comment.