Hi: Does anyone know if there is a workaround for this error I get (from running sympy in Sage)?It seems to be a known issue http://code.google.com/p/sympy/issues/detail?id=1211
- David sage: from sympy import Function, Derivative, dsolve, symbols sage: from sympy.abc import x sage: f = Function("f")(x) sage: k = symbols('k') sage: dsolve(Derivative(f(x),x,x)-k^2*f(x), f(x), hint='nth_linear_constant_coeff_homogeneous') --------------------------------------------------------------------------- TypeError Traceback (most recent call last) /Users/wdj/sagefiles/sage-4.5.alpha3/<ipython console> in <module>() /Users/wdj/sagefiles/sage-4.5.alpha3/local/lib/python2.6/site-packages/sympy/core/basic.pyc in __call__(self, subsdict) 1944 """Use call as a shortcut for subs, but only support the dictionary version""" 1945 if not isinstance(subsdict, dict): -> 1946 raise TypeError("argument must be a dictionary") 1947 return self.subs(subsdict) 1948 TypeError: argument must be a dictionary sage: dsolve(Derivative(f(x),x,x)-k**2*f(x), f(x), hint='nth_linear_constant_coeff_homogeneous') --------------------------------------------------------------------------- TypeError Traceback (most recent call last) /Users/wdj/sagefiles/sage-4.5.alpha3/<ipython console> in <module>() /Users/wdj/sagefiles/sage-4.5.alpha3/local/lib/python2.6/site-packages/sympy/core/basic.pyc in __call__(self, subsdict) 1944 """Use call as a shortcut for subs, but only support the dictionary version""" 1945 if not isinstance(subsdict, dict): -> 1946 raise TypeError("argument must be a dictionary") 1947 return self.subs(subsdict) 1948 TypeError: argument must be a dictionary -- You received this message because you are subscribed to the Google Groups "sympy" group. To post to this group, send email to sy...@googlegroups.com. To unsubscribe from this group, send email to sympy+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/sympy?hl=en.