Skip to content

Commit

Permalink
Run clang-format.
Browse files Browse the repository at this point in the history
  • Loading branch information
vyasr committed Jun 29, 2021
1 parent e1390bc commit c1f80d6
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions cpp/include/cudf/ast/detail/transform.cuh
Original file line number Diff line number Diff line change
Expand Up @@ -741,8 +741,8 @@ struct expression_evaluator {
using Out = cuda::std::invoke_result_t<OperatorFunctor, Input>;
if constexpr (has_nulls) {
auto const result = input.has_value()
? possibly_null_value_t<Out, has_nulls>(OperatorFunctor{}(*input))
: possibly_null_value_t<Out, has_nulls>();
? possibly_null_value_t<Out, has_nulls>(OperatorFunctor{}(*input))
: possibly_null_value_t<Out, has_nulls>();
this->template resolve_output<Out>(output_object, output, output_row_index, result);
} else {
this->template resolve_output<Out>(
Expand Down
4 changes: 2 additions & 2 deletions cpp/src/ast/transform.cu
Original file line number Diff line number Diff line change
Expand Up @@ -96,8 +96,8 @@ std::unique_ptr<column> compute_column(table_view const table,
auto const nullable =
std::any_of(table.begin(), table.end(), [](column_view c) { return c.nullable(); });
auto const has_nulls = nullable && std::any_of(table.begin(), table.end(), [](column_view c) {
return c.nullable() && c.has_nulls();
});
return c.nullable() && c.has_nulls();
});

auto const plan = ast_plan{expr, table, has_nulls, stream, mr};

Expand Down

0 comments on commit c1f80d6

Please sign in to comment.