From 3ba8155d382dfbebb1548323ec415b996b8fc725 Mon Sep 17 00:00:00 2001 From: Alexander Kuzmenkov Date: Mon, 16 Nov 2020 20:04:12 +0300 Subject: [PATCH] typo --- src/AggregateFunctions/AggregateFunctionAvg.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/AggregateFunctions/AggregateFunctionAvg.h b/src/AggregateFunctions/AggregateFunctionAvg.h index f169050dc2f..4a46e7b6a56 100644 --- a/src/AggregateFunctions/AggregateFunctionAvg.h +++ b/src/AggregateFunctions/AggregateFunctionAvg.h @@ -47,14 +47,14 @@ struct AvgFraction } /// Numerator is always casted to Float64 to divide correctly if the denominator is not Float64. - const Float64 num_converted; + Float64 num_converted; if constexpr (IsDecimalNumber) num_converted = DecimalUtils::convertTo(numerator, scale); else num_converted = static_cast(numerator); /// all other types, including extended integral. - const std::conditional_t, + std::conditional_t, Float64, Denominator>> denom_converted; if constexpr (IsDecimalNumber)