
6 Jul
2011
6 Jul
'11
11:40 a.m.
Hi, at http://www.boost.org/doc/libs/1_46_1/doc/html/accumulators/user_s_guide.html in the example of section 'Droppable Accumulators' one can read // This will display "6 2 3" std::cout << sum(acc) << ' ' << count(acc) << ' ' << mean(acc); The text below says 'Note that at the point at which mean is dropped, sum is 3, count is 2, and therefore mean is 1.5'. After calculating my result is also 1.5 - the comment in the example isn't correct, isn't it? Probably the typo is in the upcoming release 1.47 too. Regards, Olaf