Skip to content

Commit

Permalink
fix rebase issue
Browse files Browse the repository at this point in the history
  • Loading branch information
maartenbreddels committed Mar 26, 2021
1 parent eacdb05 commit 9c0836d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cpp/src/arrow/compute/kernels/test_util.cc
Expand Up @@ -118,8 +118,8 @@ void CheckScalar(std::string func_name, const DatumVector& inputs,
}

// Check all the input scalars, if scalars are implemented
if (std::none_of(inputs.begin(), inputs.end(), [](const std::shared_ptr<Array>& array) {
return array->type_id() == Type::EXTENSION;
if (std::none_of(inputs.begin(), inputs.end(), [](const Datum& datum) {
return datum.type()->id() == Type::EXTENSION;
})) {
// Check all the input scalars
for (int64_t i = 0; i < array->length(); ++i) {
Expand Down

0 comments on commit 9c0836d

Please sign in to comment.