Ran into another problem with simplify().. Fix here: http://plaes.org/files/2009-Q1/sympy-exp-and-simplify.patch
In [1]: simplify(exp(1)+exp(-exp(1))) --------------------------------------------------------------------------- TypeError Traceback (most recent call last) /home/plaes/code/sympy/<ipython console> in <module>() /home/plaes/code/sympy/sympy/simplify/simplify.py in simplify(expr) 1017 """ 1018 expr = Poly.cancel(powsimp(expr)) -> 1019 return together(expr.expand()) 1020 1021 def nsimplify(expr, constants=[], tolerance=None, full=False): /home/plaes/code/sympy/sympy/simplify/simplify.py in together(expr, deep) 343 return expr 344 --> 345 return _together(separate(expr)) 346 347 #apart -> partial fractions decomposition (will be here :) /home/plaes/code/sympy/sympy/simplify/simplify.py in _together(expr) 264 if term.args[0].is_Rational: 265 term, expo = S.Exp1, term.args[0] --> 266 elif term[0].is_Mul: 267 coeff, tail = term [0].as_coeff_terms() 268 if coeff.is_Rational: TypeError: 'exp' object is unindexable --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "sympy-patches" group. To post to this group, send email to sympy-patches@googlegroups.com To unsubscribe from this group, send email to sympy-patches+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sympy-patches?hl=en -~----------~----~----~----~------~----~------~--~---