Comment #3 on issue 1325 by fredrik.johansson: solve(2**x-5*x, x) gives  
assertionerror
http://code.google.com/p/sympy/issues/detail?id=1325

solve should handle everything.

Also, when testing this, I mistyped * as ** and found the following bug:

>>> tsolve(exp(log(5)*x)-2**x, x)
[1/log(5)*log(2**x)]

>>> tsolve(2**x-exp(log(5)*x), x)
Traceback (most recent call last):
   File "<stdin>", line 1, in <module>
   File "C:\Source\sympy\sympy\sympy\solvers\solvers.py", line 760, in tsolve
     assert False, 'tsolve: at least one Function expected at this point'
AssertionError: tsolve: at least one Function expected at this point
>>> tsolve(5**x-2**x, x)
Traceback (most recent call last):
   File "<stdin>", line 1, in <module>
   File "C:\Source\sympy\sympy\sympy\solvers\solvers.py", line 760, in tsolve
     assert False, 'tsolve: at least one Function expected at this point'
AssertionError: tsolve: at least one Function expected at this point
>>> tsolve(2**x-5**x, x)
Traceback (most recent call last):
   File "<stdin>", line 1, in <module>
   File "C:\Source\sympy\sympy\sympy\solvers\solvers.py", line 760, in tsolve
     assert False, 'tsolve: at least one Function expected at this point'
AssertionError: tsolve: at least one Function expected at this point

--
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings

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