diff --git a/common/lib/hist.c b/common/lib/hist.c index 565bd8db0..0f5363be3 100644 --- a/common/lib/hist.c +++ b/common/lib/hist.c @@ -112,7 +112,7 @@ void hist_reset(struct hist *h) h->higher = 0; h->lower = 0; - h->highest = DBL_MIN; + h->highest = -DBL_MAX; h->lowest = DBL_MAX; if (h->data)