Commit c76bdb54 authored by Martin Heistermann's avatar Martin Heistermann

Revamp Histogram implementation:

Support non-binned histograms if there are few unique values, better
support integral types.
parent ef5a9b3c
......@@ -39,14 +39,4 @@
* *
\*===========================================================================*/
#include "Histogram.hh"
namespace ACG {
template<>
QString HistogramT<double>::getBoundaryLabel(size_t idx) const {
// TODO: choose accuracy based on avg_bin_size_
return QString::number(bin_boundaries_[idx], 'g', 2);
}
} // namespace ACG
//#include "Histogram.hh"
This diff is collapsed.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment