Status: Accepted
Owner: [email protected]
Labels: Type-Defect Priority-Medium NeedsReview smichr
New issue 2665 by [email protected]: count doesn't count
http://code.google.com/p/sympy/issues/detail?id=2665
Tuple(1,2,3,2).count(2) raises and error; if S(2) is given instead of 2
then a value of 0 is returned. This is because find's {} is treated as
False.
See https://github.com/sympy/sympy/pull/585 for a proposed fix and test.
--
You received this message because you are subscribed to the Google Groups
"sympy-issues" 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-issues?hl=en.