Comment #2 on issue 1494 by asmeurer: eq.subs fails for Derivative(u(t)**2, t**2)
http://code.google.com/p/sympy/issues/detail?id=1494

The bug was that this didn't raise an exception until it got to the subs line (maybe that's not what the OP meant though :), but this has been fixed:


In [18]: u = Function('u')

In [19]: Derivative(u(t)**2, t**2)
---------------------------------------------------------------------------
ValueError                                Traceback (most recent call last)

/Users/aaronmeurer/Documents/python/sympy/sympy-scratch/<ipython console> in <module>()

/Users/aaronmeurer/Documents/python/sympy/sympy-scratch/sympy/core/function.py in __new__(cls, expr, *symbols, **assumptions)
    656
657 if i == iwas: # didn't get an update because of bad input --> 658 raise ValueError('Derivative expects Symbol [, Integer] args but got %s, %s' % (s, count))
    659
    660             symbol_count.append((s, count))

ValueError: Derivative expects Symbol [, Integer] args but got t**2, 1


--
You received this message because you are subscribed to the Google Groups 
"sympy-issues" group.
To post to this group, send email to sympy-issues@googlegroups.com.
To unsubscribe from this group, send email to 
sympy-issues+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/sympy-issues?hl=en.

Reply via email to