mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-09-21 17:20:50 +00:00
FunctionsRounding: fixed error (tnx. af-arno) [#METR-20540].
This commit is contained in:
parent
b60ed61f0b
commit
b6f1352bcc
@ -672,7 +672,7 @@ namespace DB
|
||||
T* begin_out = &out[0];
|
||||
const T* end_out = begin_out + out.size();
|
||||
|
||||
const T* limit = end_in - (data_count - 1);
|
||||
const T* limit = begin_in + in.size() / data_count * data_count;
|
||||
|
||||
const T* __restrict p_in = begin_in;
|
||||
T* __restrict p_out = begin_out;
|
||||
|
Loading…
Reference in New Issue
Block a user