Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/Rcpp_aux.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -262,7 +262,7 @@ void preprocess_summary(SEXP Xs, SEXP SS, double lbPval, int& type, int& N, int
int* p = INTEGER(Xs);
Mat<int> mat_X(p, N, P, false);
summary = combine_summary_X(mat_X, xsnps, SS, lbPval);
bool create_new_matrix = false;
bool create_new_matrix = true;
if(mat_X.n_cols < P){
create_new_matrix = true;
P = mat_X.n_cols;
Expand All @@ -273,7 +273,7 @@ void preprocess_summary(SEXP Xs, SEXP SS, double lbPval, int& type, int& N, int
double* p = REAL(Xs);
Mat<double> mat_X(p, N, P,false);
summary = combine_summary_X(mat_X, xsnps, SS, lbPval);
bool create_new_matrix = false;
bool create_new_matrix = true;
if(mat_X.n_cols < P){
create_new_matrix = true;
P = mat_X.n_cols;
Expand Down