Status: Accepted Owner: smichr CC: Vinzent.Steinberg Labels: Type-Defect Priority-Medium NeedsReview
New issue 1609 by smichr: sign(x).is_zero fails and sign() oddities http://code.google.com/p/sympy/issues/detail?id=1609 sign(x).is_zero fails because in complexes.py self[0] rather than self.args[0] is being queried. Also, if p = Symbol('p', positive=True) then sign(p) == 1; also sign(2*x) = sign(x) but sign(p*x) == sign(p*x) instead of sign(x). I have pushed to github (smichr) an update to master with corrections and tests addressing these problems. Look for this issue number as the leading comment. /c -- You received this message because you are listed in the owner or CC fields of this issue, or because you starred this issue. You may adjust your issue notification preferences at: http://code.google.com/hosting/settings --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "sympy-issues" group. To post to this group, send email to sympy-issues@googlegroups.com To unsubscribe from this group, send email to sympy-issues+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sympy-issues?hl=en -~----------~----~----~----~------~----~------~--~---