summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/ipa/raspberrypi/controller/histogram.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/ipa/raspberrypi/controller/histogram.h b/src/ipa/raspberrypi/controller/histogram.h
index 66a68b08..6b3e3a9e 100644
--- a/src/ipa/raspberrypi/controller/histogram.h
+++ b/src/ipa/raspberrypi/controller/histogram.h
@@ -20,6 +20,11 @@ namespace RPiController {
class Histogram
{
public:
+ Histogram()
+ {
+ cumulative_.push_back(0);
+ }
+
template<typename T> Histogram(T *histogram, int num)
{
assert(num);