Skip to content

Commit

Permalink
Update src/cunumeric/unary/scalar_unary_red_template.inl
Browse files Browse the repository at this point in the history
Co-authored-by: Jacob Faibussowitsch <[email protected]>
  • Loading branch information
ipdemes and Jacobfaib authored Nov 9, 2023
1 parent 851dd42 commit 83308a6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/cunumeric/unary/scalar_unary_red_template.inl
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,7 @@ struct ScalarUnaryRed<KIND, OP_CODE, CODE, DIM, true> {
if (whereptr[idx])
OP::template fold<true>(lhs, OP::convert(p, shape, identity, inptr[idx]));
} else {
if (whereptr[idx] == true) OP::template fold<true>(lhs, OP::convert(inptr[idx], identity));
if (whereptr[idx]) OP::template fold<true>(lhs, OP::convert(inptr[idx], identity));
}
}

Expand Down

0 comments on commit 83308a6

Please sign in to comment.