diff options
author | xiangzhou | 2017-05-09 15:07:10 -0400 |
---|---|---|
committer | GitHub | 2017-05-09 15:07:10 -0400 |
commit | 3ed15d7061fdac57c07da0fba087e9e69ac0ec42 (patch) | |
tree | 9e38dfd1cae2ee320ead66a051c1dcd662298523 /src | |
parent | 09c9dcaae506058e1120eb55896fdcc2715e90a9 (diff) | |
download | pangemma-3ed15d7061fdac57c07da0fba087e9e69ac0ec42.tar.gz |
fixed #36
Diffstat (limited to 'src')
-rw-r--r-- | src/mvlmm.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mvlmm.cpp b/src/mvlmm.cpp index 5deda06..0049972 100644 --- a/src/mvlmm.cpp +++ b/src/mvlmm.cpp @@ -3315,7 +3315,7 @@ void MVLMM::Analyzebgen (const gsl_matrix *U, const gsl_vector *eval, const gsl_ gsl_vector_memcpy (&Xlarge_col.vector, x); csnp++; - if (csnp%msize==0 || c==t_last ) { + if (csnp%msize==0 || csnp==t_last ) { size_t l=0; if (csnp%msize==0) {l=msize;} else {l=csnp%msize;} @@ -3714,7 +3714,7 @@ void MVLMM::AnalyzeBimbam (const gsl_matrix *U, const gsl_vector *eval, const gs gsl_vector_memcpy (&Xlarge_col.vector, x); csnp++; - if (csnp%msize==0 || c==t_last ) { + if (csnp%msize==0 || csnp==t_last ) { size_t l=0; if (csnp%msize==0) {l=msize;} else {l=csnp%msize;} @@ -4148,7 +4148,7 @@ void MVLMM::AnalyzePlink (const gsl_matrix *U, const gsl_vector *eval, const gsl gsl_vector_memcpy (&Xlarge_col.vector, x); csnp++; - if (csnp%msize==0 || c==t_last ) { + if (csnp%msize==0 || csnp==t_last ) { size_t l=0; if (csnp%msize==0) {l=msize;} else {l=csnp%msize;} |