DecomposeComplexOps: update parseEquation to skip space char for AtenEinsumOp op (#2910)

Just a minor update to skip the space char if included in the equation
string

---------

Co-authored-by: Ze Zhang <ze.zhang@getcruise.com>
pull/2839/merge
Ze Zhang 2024-02-14 18:18:11 -08:00 committed by GitHub
parent 77b7550997
commit f3b38e5d12
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -181,7 +181,7 @@ static bool parseEquation(const std::string &equation,
inputToken.clear();
currentVariable = kIsResult;
index++;
} else {
} else if (equation[index] != ' ') {
return false;
}
index++;