Merge with master

This commit is contained in:
Alexey Milovidov 2021-05-02 21:43:45 +03:00
parent fc8db048e1
commit 30ef8ade6c

View File

@ -173,7 +173,7 @@ struct ArrayAggregateImpl
{ {
size_t array_size = offsets[i] - pos; size_t array_size = offsets[i] - pos;
/// Just multiply the value by array size. /// Just multiply the value by array size.
res[i] = x * Result(array_size); res[i] = x * ResultType(array_size);
} }
else if constexpr (aggregate_operation == AggregateOperation::min || else if constexpr (aggregate_operation == AggregateOperation::min ||
aggregate_operation == AggregateOperation::max) aggregate_operation == AggregateOperation::max)