Leaklens

sympy__sympy-22080

Mod function lambdify bug

Verdict: the issue points to the file or function that was changed (Tier B).

It seems to me that all that should be done is just add the key 'Mod' with its value smaller than that of 'Mul' to the map objects PRECEDENCE and PRECEDENCE_VALUES in sympy/sympy/printer/precedence.py.

The text points to the exact place to change: “It seems to me that all that should be done is just add the key 'Mod' with its value smaller than that of 'Mul' to the map objects PRECEDENCE and PRECEDENCE_VALUES in sy…”

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