sympy__sympy-18199
nthroot_mod function misses one root of x = 0 mod p.
Verdict: the issue points to the file or function that was changed (Tier B).
When in the equation x**n = a mod p , when a % p == 0. Then x = 0 mod p is also a root of this equation.
The two checks disagreed (stated fix vs. points to it); the lower reading shown: “When in the equation x**n = a mod p , when a % p == 0. Then x = 0 mod p is also a root of this equation.”
All SWE-bench Verified tasks · more sympy/sympy tasks · How the check works