mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-11 08:52:06 +00:00
RationalFraction initialization fix
This commit is contained in:
parent
3d479cdd8c
commit
e4f35e27e1
@ -17,8 +17,10 @@ using DecimalOrVectorCol = std::conditional_t<IsDecimalNumber<T>, ColumnDecimal<
|
||||
template <class Numerator, class Denominator>
|
||||
struct RationalFraction
|
||||
{
|
||||
Numerator numerator{0};
|
||||
Denominator denominator{0};
|
||||
/// {0} prohibited as excess elements.
|
||||
/// = 0 prohibited as there are no suitable constructors.
|
||||
Numerator numerator = static_cast<Numerator>(0);
|
||||
Denominator denominator = static_cast<Denominator>(0);
|
||||
|
||||
/// Calculate the fraction as a #Result.
|
||||
template <class Result>
|
||||
|
Loading…
Reference in New Issue
Block a user