diff options
-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;} |