From b0b7c0a189d806f65fb843a435d28bb025ccdd4a Mon Sep 17 00:00:00 2001 From: Yishen Miao Date: Fri, 26 Jun 2020 08:53:54 -0700 Subject: [PATCH] Fixing missing function and parameters Fixes missing function and paramter in mpi_relatedness.cc that prevents compilling. --- src/mapgd_0.4/commands/relatedness.h | 3 +++ src/mapgd_0.4/mpi/mpi_relatedness.cc | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/src/mapgd_0.4/commands/relatedness.h b/src/mapgd_0.4/commands/relatedness.h index 57404ba6..3a48173c 100644 --- a/src/mapgd_0.4/commands/relatedness.h +++ b/src/mapgd_0.4/commands/relatedness.h @@ -87,5 +87,8 @@ newton(Relatedness &rel, std::map &hashed_genotype void get_llr(Relatedness &rel, std::map hashed_genotypes); +void +get_95CI(Relatedness &rel, std::map hashed_genotypes); + #endif diff --git a/src/mapgd_0.4/mpi/mpi_relatedness.cc b/src/mapgd_0.4/mpi/mpi_relatedness.cc index f96960b7..f3a95d96 100644 --- a/src/mapgd_0.4/mpi/mpi_relatedness.cc +++ b/src/mapgd_0.4/mpi/mpi_relatedness.cc @@ -168,7 +168,7 @@ int estimateRel(int argc, char *argv[]) } if ( chunk*taskid <= z && z < chunk*(taskid+1) ) { - hashed_genotypes=hash_genotypes(file_buffer, x, y, l2o); + hashed_genotypes=hash_genotypes(file_buffer, x, y, l2o, false); // down_genotypes=downsample_genotypes(file_buffer, x, y, l2o); relatedness.zero(); set_e(relatedness, hashed_genotypes);