Better code

This commit is contained in:
Alexey Milovidov 2024-11-10 17:41:37 +01:00
parent 62c94a7841
commit 08e6e598f7
2 changed files with 1 additions and 2 deletions

View File

@ -11,7 +11,7 @@
namespace DB
{
template <typename T>
concept has_find_extreme_implementation = (is_any_of<T, Int8, Int16, Int32, Int64, UInt8, UInt16, UInt32, UInt64, BFloat16, Float32, Float64>);
concept has_find_extreme_implementation = (is_any_of<T, Int8, Int16, Int32, Int64, UInt8, UInt16, UInt32, UInt64, Float32, Float64>);
template <has_find_extreme_implementation T>
std::optional<T> findExtremeMin(const T * __restrict ptr, size_t start, size_t end);

View File

@ -606,7 +606,6 @@ template <typename T> inline constexpr bool IsDataTypeEnum<DataTypeEnum<T>> = tr
M(Int16) \
M(Int32) \
M(Int64) \
M(BFloat16) \
M(Float32) \
M(Float64)