From 565163635fe98c7e0da004b4ac6dd2cd45bc880c Mon Sep 17 00:00:00 2001 From: "William S. Moses" Date: Thu, 9 Jan 2025 18:03:51 -0500 Subject: [PATCH] More paren balancing --- enzyme/tools/enzyme-tblgen/enzyme-tblgen.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/enzyme/tools/enzyme-tblgen/enzyme-tblgen.cpp b/enzyme/tools/enzyme-tblgen/enzyme-tblgen.cpp index 672cb8954e5..fade744a749 100644 --- a/enzyme/tools/enzyme-tblgen/enzyme-tblgen.cpp +++ b/enzyme/tools/enzyme-tblgen/enzyme-tblgen.cpp @@ -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) {