Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Nov 30, 2023
1 parent bdb49e9 commit 4ef0749
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions src/cunumeric/unary/unary_red_template.inl
Original file line number Diff line number Diff line change
Expand Up @@ -51,11 +51,9 @@ struct UnaryRedImpl {
auto lhs = args.lhs.reduce_accessor<typename OP::OP, KIND != VariantKind::GPU, DIM>(rect);

AccessorRO<bool, DIM> where;
if constexpr (HAS_WHERE) {
where = args.where.read_accessor<bool, DIM>(rect);
}
if constexpr (HAS_WHERE) { where = args.where.read_accessor<bool, DIM>(rect); }
UnaryRedImplBody<KIND, OP_CODE, CODE, DIM, HAS_WHERE>()(
lhs, rhs, where, rect, pitches, args.collapsed_dim, volume);
lhs, rhs, where, rect, pitches, args.collapsed_dim, volume);
}

template <Type::Code CODE,
Expand Down

0 comments on commit 4ef0749

Please sign in to comment.