Comment #1 on issue 2074 by asmeurer: dsolve(diff(D(t), t) - k1*(B + C2*exp(-k*t) - D(t)), D(t), 'nth_linear_constant_coeff_variation_of_parameters') gives AttributeError: 'tuple' object has no attribute 'match'
http://code.google.com/p/sympy/issues/detail?id=2074

Now, the Integral hint gives AttributeError: 'Tuple' object has no attribute 'as_base_exp' and the regular hint just hangs (in heurisch()).

The problem is in constant_renumber, which pulls apart an expression and renumbers the constants using Basic._compare_pretty() (so they appear in order in the final expression). This method is not defined for Tuple, so it works its way to the Basic version, which assumes that you can call as_base_exp(). This routine should be moved to Expr, and a more generic routine implemented for Basic.

--
You received this message because you are subscribed to the Google Groups 
"sympy-issues" 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-issues?hl=en.

Reply via email to