From f55518b5d194359de66d52acd6412050cc57fa3a Mon Sep 17 00:00:00 2001 From: Florian Forster Date: Tue, 28 Nov 2017 08:24:14 +0100 Subject: [PATCH] contrib/format.sh src/aggregation.c --- src/aggregation.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/aggregation.c b/src/aggregation.c index 8d5cd082..272a04fb 100644 --- a/src/aggregation.c +++ b/src/aggregation.c @@ -405,9 +405,10 @@ static int agg_instance_read(agg_instance_t *inst, cdtime_t t) /* {{{ */ READ_FUNC(average, (inst->sum / ((gauge_t)inst->num))); READ_FUNC(min, inst->min); READ_FUNC(max, inst->max); - READ_FUNC(stddev, sqrt((((gauge_t)inst->num) * inst->squares_sum) - - (inst->sum * inst->sum)) / - ((gauge_t)inst->num)); + READ_FUNC(stddev, + sqrt((((gauge_t)inst->num) * inst->squares_sum) - + (inst->sum * inst->sum)) / + ((gauge_t)inst->num)); } /* Reset internal state. */ -- 2.11.0