Skip to content

Commit e12a8f9

Browse files
committed
Fixed mismatch in out columns when asking for multiple conf intervals
1 parent 5ec9291 commit e12a8f9

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/fast++-read_input.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -395,6 +395,7 @@ bool read_params(options_t& opts, input_state_t& state, const std::string& filen
395395
if (opts.n_sim != 0 || opts.interval_from_chi2) {
396396
vec1f cint = 0.5*(1.0 - opts.c_interval/100.0);
397397
inplace_sort(cint);
398+
cint = reverse(cint);
398399
for (uint_t ic : range(cint)) {
399400
state.conf_interval.push_back(cint[ic]);
400401
state.conf_interval.push_back(1.0 - cint[ic]);

0 commit comments

Comments
 (0)