Comment #42 on issue 821 by pr...@goodok.ru: multiple arguments for max and other improvements
http://code.google.com/p/sympy/issues/detail?id=821

This
`(v.is_real is not None) or (v is S.Infinity) or (v is S.NegativeInfinity)`

raised Exception for `cos(x)`.

There is why I just updated raising condition as
`if (v.is_real == False) or (v is S.ComplexInfinity)`

And it pushed now.

Also I tried to substitute Matrices but apparently obtained some bugs:

    >>> Max(zeros(2))
    SympifyError: SympifyError: 'Matrix cannot be sympified'
    >>> simplify(zeros(2))
    AttributeError:
    >>> zeros(2).simplify()
    (ok)
    >>> zeros(2) > 1
    True
    >>> zeros(2) < 1
    False


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

Reply via email to