Leaklens

sympy__sympy-21847

itermonomials returns incorrect monomials when using min_degrees argument

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

- if max(powers.values()) >= min_degree: + if sum(powers.values()) >= min_degree:

The text states the fix: “- if max(powers.values()) >= min_degree: + if sum(powers.values()) >= min_degree:”

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