Leaklens

sympy__sympy-21627

Bug: maximum recusion depth error when checking is_zero of cosh expression

Verdict: the fix is stated in the issue (Tier A).

if arg.is_extended_real: return

The text states the fix: “if arg.is_extended_real: return”

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