diff --git a/cpp/include/cudf/ast/detail/transform.cuh b/cpp/include/cudf/ast/detail/transform.cuh index e6e247429f4..e56b4fb2281 100644 --- a/cpp/include/cudf/ast/detail/transform.cuh +++ b/cpp/include/cudf/ast/detail/transform.cuh @@ -741,8 +741,8 @@ struct expression_evaluator { using Out = cuda::std::invoke_result_t; if constexpr (has_nulls) { auto const result = input.has_value() - ? possibly_null_value_t(OperatorFunctor{}(*input)) - : possibly_null_value_t(); + ? possibly_null_value_t(OperatorFunctor{}(*input)) + : possibly_null_value_t(); this->template resolve_output(output_object, output, output_row_index, result); } else { this->template resolve_output( diff --git a/cpp/src/ast/transform.cu b/cpp/src/ast/transform.cu index 96805f9b5a9..7aa89635c54 100644 --- a/cpp/src/ast/transform.cu +++ b/cpp/src/ast/transform.cu @@ -96,8 +96,8 @@ std::unique_ptr 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};