File tree Expand file tree Collapse file tree 3 files changed +1
-10
lines changed Expand file tree Collapse file tree 3 files changed +1
-10
lines changed Original file line number Diff line number Diff line change 11#include " chain.h"
2+
23#include " mcmc_utils.h"
34#include " sampler.h"
45
@@ -225,13 +226,6 @@ void Chain::update_p(int iteration)
225226 }
226227
227228 auto prev_p = p[j];
228-
229- for (int ii = 0 ; ii < genotyping_data.num_samples ; ++ii)
230- {
231- calculate_genotype_likelihood (ii, j);
232- }
233- double new_llik2 = calc_new_likelihood ();
234-
235229 p[j] = prop_p;
236230
237231 for (int ii = 0 ; ii < genotyping_data.num_samples ; ++ii)
@@ -564,7 +558,6 @@ void Chain::initialize_likelihood()
564558{
565559 int num_samples = genotyping_data.num_samples ;
566560 int num_loci = genotyping_data.num_loci ;
567- int sampling_depth = params.importance_sampling_depth ;
568561 int row_idx, idx;
569562
570563 genotyping_llik_new.resize (num_samples * num_loci);
Original file line number Diff line number Diff line change @@ -13,8 +13,6 @@ class Parameters
1313 int burnin;
1414 int samples;
1515 long int complexity_limit;
16- long int importance_sampling_depth;
17- long int importance_sampling_scaling_factor;
1816
1917 // Model Parameters
2018 // Complexity of Infection
You can’t perform that action at this time.
0 commit comments