Hi,

I was browsing the code in residue_ntherory.py and found that in SymPy,
legendre_symbol can have only two values { -1, 1 } out of the possible set {
-1, 0, 1} [0].
I made the necessary change ( changed 'if' condition) and added a test for
the same [1] but haven't made a pull request yet.

Awaiting your comments.

-- 
-Regards
Hector

Whenever you think you can or you can't, in either way you are right.


[0] http://en.wikipedia.org/wiki/Legendre_symbol
[1]
https://github.com/hector1618/sympy/blob/legendre_symbol/sympy/ntheory/residue_ntheory.py(
Line No. 88 )

-- 
You received this message because you are subscribed to the Google Groups 
"sympy" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/sympy?hl=en.

Reply via email to