Leaklens

sympy__sympy-21612

Latex parsing of fractions yields wrong expression due to missing brackets

Verdict: the issue text repeats lines of the gold patch (Tier C).

if (len(item.args[0].args) != 1 and - isinstance(item.base, Mul)): + isinstance(item.base, (Mul, Pow))):

1 of 1 added patch lines appear in the issue or discussion.

All SWE-bench Verified tasks · more sympy/sympy tasks · How the check works