Skip to content

Commit

Permalink
fix r
Browse files Browse the repository at this point in the history
  • Loading branch information
Zilong-Li committed Jan 18, 2024
1 parent cda4d9d commit 6c2110a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/parse-phaseless.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@ List parse_impute_par(std::string filename, int ic = -1)
for(auto ind : ids)
{
for(int c = 0; c < nchunks; c++) {
ic = nchunks > 1 ? c : ic;
ic = nchunks > 1 ? c : std::max(ic, c);
const int iM = genome->pos[ic].size();
const int nGrids = genome->B > 1 ? (iM + genome->B - 1) / genome->B : iM;
alpha.setZero(genome->C * genome->C, nGrids);
Expand Down

0 comments on commit 6c2110a

Please sign in to comment.