Skip to content

Commit

Permalink
More paren balancing
Browse files Browse the repository at this point in the history
  • Loading branch information
wsmoses committed Jan 9, 2025
1 parent 02c5f89 commit 5651636
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions enzyme/tools/enzyme-tblgen/enzyme-tblgen.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1264,11 +1264,11 @@ void handleUseArgument(
if (precondition != "true") {
if (foundPrimalUse2.size()) {
foundPrimalUse2 =
"((" + foundPrimalUse2 + ")&&(" + precondition + ")";
"((" + foundPrimalUse2 + ")&&(" + precondition + "))";
}
if (foundShadowUse2.size()) {
foundShadowUse2 =
"((" + foundShadowUse2 + ")&&(" + precondition + ")";
"((" + foundShadowUse2 + ")&&(" + precondition + "))";
}
}
if (usesPrimal) {
Expand Down

0 comments on commit 5651636

Please sign in to comment.