Skip to content

Commit

Permalink
Per #2147, need to pass along the ec_value setting to newly allocated…
Browse files Browse the repository at this point in the history
… CTSInfo objects when computing bootstrap CI's.
  • Loading branch information
JohnHalleyGotway committed Jun 10, 2022
1 parent 8e37d74 commit 7e25d17
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/libcode/vx_statistics/compute_ci.cc
Original file line number Diff line number Diff line change
Expand Up @@ -337,6 +337,7 @@ void compute_cts_stats_ci_bca(const gsl_rng *rng_ptr,
for(i=0; i<n_cts; i++) {
cts_tmp[i].fthresh = cts_info[i].fthresh;
cts_tmp[i].othresh = cts_info[i].othresh;
cts_tmp[i].cts.set_ec_value(cts_info[i].cts.ec_value());
}

//
Expand Down Expand Up @@ -1474,6 +1475,7 @@ void compute_cts_stats_ci_perc(const gsl_rng *rng_ptr,
for(i=0; i<n_cts; i++) {
cts_tmp[i].fthresh = cts_info[i].fthresh;
cts_tmp[i].othresh = cts_info[i].othresh;
cts_tmp[i].cts.set_ec_value(cts_info[i].cts.ec_value());
}

//
Expand Down

0 comments on commit 7e25d17

Please sign in to comment.