That's a *bug*.
The behavior of FiniteSet while having symbolic elements into it
was recently changed here: https://github.com/sympy/sympy/pull/9540
So, the new behavior, is yet not implemented for all other operations,
that's probably one of the reasons for this.
*AMiT Kumar*
On Saturday, July 11, 2015 at 12:09:21 PM UTC+5:30, Gaurav Dhingra wrote:
>
> Hi all
> Currently we have
> ```
> >>> m,n = symbols('m n')
> >>> Finite(1,2,3) - FiniteSet(m,n)
> FiniteSet(1, 2, 3) # why this ? Why is it not returned unevaluated ?
> ```
>
> Gaurav
>
--
You received this message because you are subscribed to the Google Groups
"sympy" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sympy.
To view this discussion on the web visit
https://groups.google.com/d/msgid/sympy/73e89241-4d90-44d6-a6fa-c4675cc8ea68%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.