You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Improve NotImplementedError for sqrt(Mod(a,n), all=True)
When sqrt(Mod(a,n), all=True) is called for a non-square 'a' with the default extend=True, the resulting NotImplementedError was very generic.
Improved the error message to suggest trying extend=False to find roots only within the base ring Zmod(n), as discussed in the issue.
Included a doctest .
0 commit comments