id summary reporter owner description type status milestone component version severity resolution keywords cc 3038 [accumulators] Empty histogram Robert Kubrick Eric Niebler "When the number of samples entered is lower than the cache_size parameter, histogram is not initialized. Example: {{{ typedef iterator_range >::iterator > histogram_type; accumulator_set > acc(tag::density::num_bins = 20, tag::density::cache_size = 10); // push in some data ... acc(0.1); acc(1.2); acc(2.3); acc(3.4); acc(4.5); acc(5.4); acc(5.5); // Display the results ... histogram_type hist = density(acc); for( int i = 0; i < hist.size(); i++ ) std::cout << ""Bin lower bound: "" << hist[i].first << "", Value: "" << hist[i].second << std::endl; return 0; }}} " Bugs closed Boost 1.40.0 accumulator Boost 1.38.0 Problem wontfix histogram density