mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-25 17:12:03 +00:00
Issue #2053 - conversion of 256 bit to 128 bit
This commit is contained in:
parent
d6b465ab9d
commit
e8965543c3
@ -360,7 +360,7 @@ struct integer<Bits, Signed>::_impl
|
|||||||
constexpr const unsigned to_copy = min_bits / base_bits;
|
constexpr const unsigned to_copy = min_bits / base_bits;
|
||||||
|
|
||||||
for (unsigned i = 0; i < to_copy; ++i)
|
for (unsigned i = 0; i < to_copy; ++i)
|
||||||
self.items[little(i)] = rhs.items[little(i)];
|
self.items[little(i)] = rhs.items[integer<Bits2, Signed2>::_impl::little(i)];
|
||||||
|
|
||||||
if constexpr (Bits > Bits2)
|
if constexpr (Bits > Bits2)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user