Opened 8 years ago
#10867 new Bugs
Undocumented precondition for extended_p_square accumulator
Reported by: | Owned by: | Eric Niebler | |
---|---|---|---|
Milestone: | To Be Determined | Component: | accumulator |
Version: | Boost 1.57.0 | Severity: | Problem |
Keywords: | Cc: |
Description
probs has to be sorted ascendingly for correct results. This is not mentioned in the documentation.
typedef accumulator_set<double, stats<tag::extended_p_square> > accumulator_t; accumulator_t acc(tag::extended_p_square::probabilities = probs);
Attachments (1)
Note:
See TracTickets
for help on using tickets.
test code showing the missbehaviour if probabilities are not sorted