diff --git a/src/cunumeric/unary/unary_red_template.inl b/src/cunumeric/unary/unary_red_template.inl index 1b92d5a32..aa038384f 100644 --- a/src/cunumeric/unary/unary_red_template.inl +++ b/src/cunumeric/unary/unary_red_template.inl @@ -51,11 +51,9 @@ struct UnaryRedImpl { auto lhs = args.lhs.reduce_accessor(rect); AccessorRO where; - if constexpr (HAS_WHERE) { - where = args.where.read_accessor(rect); - } + if constexpr (HAS_WHERE) { where = args.where.read_accessor(rect); } UnaryRedImplBody()( - lhs, rhs, where, rect, pitches, args.collapsed_dim, volume); + lhs, rhs, where, rect, pitches, args.collapsed_dim, volume); } template