diff options
| author | Pjotr Prins | 2025-11-30 08:53:10 +0100 |
|---|---|---|
| committer | Pjotr Prins | 2025-11-30 08:53:10 +0100 |
| commit | ab434bbd38a61941bf32afcf91b7cc397462a53b (patch) | |
| tree | 6bddea2b6a706a6f91ec98a654627f3458e84f9f /src/param.cpp | |
| parent | 254113f4e02d5b423af302e9facb0ed580749ef5 (diff) | |
| download | pangemma-ab434bbd38a61941bf32afcf91b7cc397462a53b.tar.gz | |
Write out K
Diffstat (limited to 'src/param.cpp')
| -rw-r--r-- | src/param.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/param.cpp b/src/param.cpp index 3b74e53..1adee9e 100644 --- a/src/param.cpp +++ b/src/param.cpp @@ -1293,9 +1293,8 @@ void PARAM::ReadBIMBAMGenotypes(gsl_matrix *UtX, gsl_matrix *K, const bool calc_ return; } -void PARAM::MdbCalcKin() { - error = !mdb_calc_kin(file_geno, is_loco(), a_mode - 20, indicator_snp); - return; +gsl_matrix *PARAM::MdbCalcKin() { + return mdb_calc_kin(file_geno, is_loco(), a_mode - 20, indicator_snp); } void PARAM::CalcKin(gsl_matrix *matrix_kin) { |
