mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-17 21:24:28 +00:00
Fix-style
This commit is contained in:
parent
6c814c9f9f
commit
bc85df64cb
@ -206,8 +206,7 @@ public:
|
|||||||
xs = getDoubleValues(getNestedConstColumn(block, arguments, 3));
|
xs = getDoubleValues(getNestedConstColumn(block, arguments, 3));
|
||||||
ys = getDoubleValues(getNestedConstColumn(block, arguments, 4));
|
ys = getDoubleValues(getNestedConstColumn(block, arguments, 4));
|
||||||
if (variant_names.size() != xs.size() || xs.size() != ys.size())
|
if (variant_names.size() != xs.size() || xs.size() != ys.size())
|
||||||
throw Exception(ErrorCodes::BAD_ARGUMENTS, "Sizes of arguments doen't match: variant_names: {}, xs: {}, ys: {}",
|
throw Exception(ErrorCodes::BAD_ARGUMENTS, "Sizes of arguments doen't match: variant_names: {}, xs: {}, ys: {}", variant_names.size(), xs.size(), ys.size());
|
||||||
variant_names.size(), xs.size(), ys.size());
|
|
||||||
|
|
||||||
if (std::count_if(xs.begin(), xs.end(), [](double v) { return v < 0; }) > 0 ||
|
if (std::count_if(xs.begin(), xs.end(), [](double v) { return v < 0; }) > 0 ||
|
||||||
std::count_if(ys.begin(), ys.end(), [](double v) { return v < 0; }) > 0)
|
std::count_if(ys.begin(), ys.end(), [](double v) { return v < 0; }) > 0)
|
||||||
|
Loading…
Reference in New Issue
Block a user