On Mon, Jun 11, 2012 at 10:31 AM, Tom Bachmann <[email protected]> wrote: > On 11.06.2012 00:38, Aaron Meurer wrote: >> >> What difference does it make if it's an identity or not? My first >> instinct would be to make it a separate class (you can still make it a >> flag and use __new__). > > > Yes, that's what I would do. Just create subclass IdentityMorphism.
Believe it or not, I had the same idea when I was already falling asleep :-) I'll do the change, thank you. Sergiu -- You received this message because you are subscribed to the Google Groups "sympy" 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?hl=en.
