Skip to content

Commit

Permalink
Minor changes
Browse files Browse the repository at this point in the history
  • Loading branch information
jovoni committed Jul 4, 2024
1 parent ac32240 commit 5886c14
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 1 deletion.
Binary file added .RData
Binary file not shown.
2 changes: 1 addition & 1 deletion NAMESPACE
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@ export(test_de)
importFrom(Rcpp,evalCpp)
importFrom(magrittr,"%>%")
importFrom(rlang,.data)
useDynLib(devil)
useDynLib(devil);
1 change: 1 addition & 0 deletions src/variance.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ Eigen::MatrixXd compute_clustered_meat(Eigen::MatrixXd design_matrix, Eigen::Vec
int n = design_matrix.rows();
int ng = clusters.maxCoeff();
double adj = double(ng) / (ng - 1);
if (ng == 1) {adj = 1;}

Eigen::MatrixXd rval = Eigen::MatrixXd::Zero(k, k);

Expand Down

0 comments on commit 5886c14

Please sign in to comment.