Hi, I know that some dislike _diff_wrt, however admitting for the
moment that it is a good idea, can somebody help me with making this
work:

In [1]: class Blah(Expr):
   ...:     _diff_wrt = True

In [2]: c = Blah(1,2,3)

In [3]: (2*c).diff(c)
AttributeError: 'int' object has no attribute 'is_number'

Why does diff care about the int inside `c`? Why doesn't this work?

-- 
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.

Reply via email to