Skip to content

Commit

Permalink
update private var
Browse files Browse the repository at this point in the history
  • Loading branch information
Zilong-Li committed Feb 9, 2024
1 parent 834fbfe commit 9c752b3
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/admixture.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@ double Admixture::runOptimalWithBigAss(int ind, const std::unique_ptr<BigAss> &
MyArr1D iQ = MyArr1D::Zero(K);
MyArr1D Hz(C);
double norm = 0, llike = 0, tmp = 0;
int c1, k1, s, c2, c12, ss, ic, g;
for(ic = 0, g = 0, ss = 0; ic < genome->nchunks; ic++)
int c1, k1, s, c2, c12;
for(int ic = 0, g = 0, ss = 0; ic < genome->nchunks; ic++)
{
const int S = genome->pos[ic].size();
const int nGrids = grids[ic];
Expand Down Expand Up @@ -69,9 +69,9 @@ double Admixture::runNativeWithBigAss(int ind, const std::unique_ptr<BigAss> & g
MyArr2D Ekg, iEkc;
double norm = 0, llike = 0;
int c1, c2, c12, cc;
int k1, k2, k12, s, ss, ic, g;
int k1, k2, k12, s;
MyArr1D iQ = MyArr1D::Zero(K);
for(ic = 0, g = 0, ss = 0; ic < genome->nchunks; ic++)
for(int ic = 0, g = 0, ss = 0; ic < genome->nchunks; ic++)
{
const int S = genome->pos[ic].size();
const int nGrids = grids[ic];
Expand Down

0 comments on commit 9c752b3

Please sign in to comment.