Skip to content

Commit 5651636

Browse files
committed
More paren balancing
1 parent 02c5f89 commit 5651636

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

enzyme/tools/enzyme-tblgen/enzyme-tblgen.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1264,11 +1264,11 @@ void handleUseArgument(
12641264
if (precondition != "true") {
12651265
if (foundPrimalUse2.size()) {
12661266
foundPrimalUse2 =
1267-
"((" + foundPrimalUse2 + ")&&(" + precondition + ")";
1267+
"((" + foundPrimalUse2 + ")&&(" + precondition + "))";
12681268
}
12691269
if (foundShadowUse2.size()) {
12701270
foundShadowUse2 =
1271-
"((" + foundShadowUse2 + ")&&(" + precondition + ")";
1271+
"((" + foundShadowUse2 + ")&&(" + precondition + "))";
12721272
}
12731273
}
12741274
if (usesPrimal) {

0 commit comments

Comments
 (0)