diff --git a/src/AggregateFunctions/AggregateFunctionAvg.h b/src/AggregateFunctions/AggregateFunctionAvg.h index 4a46e7b6a56..163ff1704ec 100644 --- a/src/AggregateFunctions/AggregateFunctionAvg.h +++ b/src/AggregateFunctions/AggregateFunctionAvg.h @@ -55,7 +55,7 @@ struct AvgFraction num_converted = static_cast(numerator); /// all other types, including extended integral. std::conditional_t, - Float64, Denominator>> denom_converted; + Float64, Denominator> denom_converted; if constexpr (IsDecimalNumber) denom_converted = DecimalUtils::convertTo(denominator, scale);