diff --git a/src/AggregateFunctions/Bfloat16Histogram.h b/src/AggregateFunctions/Bfloat16Histogram.h index 8b056a1fbac..d29d809618c 100644 --- a/src/AggregateFunctions/Bfloat16Histogram.h +++ b/src/AggregateFunctions/Bfloat16Histogram.h @@ -142,7 +142,7 @@ private: return ext::bit_cast(static_cast(x)) >> 16; } - Float32 to_Float32(const bfloat & x) const + Float32 to_Float32(const bfloat16 & x) const { return ext::bit_cast(x << 16); }