From 1398c176970838baa9bb5c77b23e8c5ced4a1edf Mon Sep 17 00:00:00 2001 From: Steffen Vogel Date: Fri, 25 Mar 2022 17:33:34 +0100 Subject: [PATCH] hist: fix initialization of histograms --- common/lib/hist.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/common/lib/hist.cpp b/common/lib/hist.cpp index 6e8c36a2d..4f0727a6b 100644 --- a/common/lib/hist.cpp +++ b/common/lib/hist.cpp @@ -37,11 +37,11 @@ namespace villas { Hist::Hist(int buckets, Hist::cnt_t wu) : resolution(0), - high(), - low(), + high(0), + low(0), highest(std::numeric_limits::min()), lowest(std::numeric_limits::max()), - last(), + last(0), total(0), warmup(wu), higher(0),