Status: Valid
Owner: ----
Labels: Type-Defect Priority-Medium WrongResult Sets
New issue 3376 by [email protected]: subset is wrong for TransformationSet
http://code.google.com/p/sympy/issues/detail?id=3376
In [58]: a = TransformationSet(Lambda(x, x**2), Interval(0, 1))
In [59]: a.subset(Interval(0, 1))
Out[59]: False
In [60]: Interval(0, 1).subset(a)
Out[60]: False
But in fact, a is equal to Interval(0, 1). subset just applies an
intersection and checks if it is structurally equal. Clearly, it should
use some smarter methods, and try to be aware of when it doesn't know the
answer either way.
--
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.