Updates:
Status: Fixed
Comment #9 on issue 1308 by ondrej.certik: simplify gives error on
expressions containing exp()
http://code.google.com/p/sympy/issues/detail?id=1308
Thanks, the patch is in.
In [1]: simplify(exp(-Rational(1)/Rational(2)) - exp(2))
Out[1]:
⎛ 5/2⎞ -1/2
⎝1 - ℯ
Comment #8 on issue 1308 by plaes800: simplify gives error on expressions
containing exp()
http://code.google.com/p/sympy/issues/detail?id=1308
Version 2 of the patch. The Mul part of this previously fixed if-else chain
looked
also fishy so I managed to write a test that broke it ;)
With th
Updates:
Status: Started
Owner: ondrej.certik
Comment #7 on issue 1308 by ondrej.certik: simplify gives error on
expressions containing exp()
http://code.google.com/p/sympy/issues/detail?id=1308
Great job! The patch is +1. I'll merge it soon.
I added you to the google code pro
Comment #6 on issue 1308 by plaes800: simplify gives error on expressions
containing exp()
http://code.google.com/p/sympy/issues/detail?id=1308
OK, finally cracked it, thanks for all the support. I have put patch here,
please
comment.
http://plaes.org/files/2009-Q1/sympy-exp-simplification.
Comment #5 on issue 1308 by ondrej.certik: simplify gives error on
expressions containing exp()
http://code.google.com/p/sympy/issues/detail?id=1308
Great job! So that's it -- the _eval_power() is being called with 1/2 as
the "b"
argument, but there should be an exponential in that argument.
Comment #4 on issue 1308 by plaes800: simplify gives error on expressions
containing exp()
http://code.google.com/p/sympy/issues/detail?id=1308
Ok, figured out what causes this:
The last barf came from sympy/functions/elementary/exponential.py:189
187 def _eval_power(b, e):
188 "
Updates:
Labels: -EasyToFix
Comment #3 on issue 1308 by ondrej.certik: simplify gives error on
expressions containing exp()
http://code.google.com/p/sympy/issues/detail?id=1308
I don't see a problem either, you can try to use the debugger to see what's
wrong.
Try to run with cache of
Comment #2 on issue 1308 by plaes800: simplify gives error on expressions
containing exp()
http://code.google.com/p/sympy/issues/detail?id=1308
I did my changes, but then ran into another problem (which I cannot figure
out
anymore :( )
File "./test.py", line 6, in
simplify(exp(3*-R
Updates:
Status: Accepted
Labels: -Priority-Medium Priority-High EasyToFix Milestone-Release0.6.4
Comment #1 on issue 1308 by ondrej.certik: simplify gives error on
expressions containing exp()
http://code.google.com/p/sympy/issues/detail?id=1308
Oops, what an embarrassing bug!
Status: New
Owner:
Labels: Type-Defect Priority-Medium
New issue 1308 by plaes800: simplify gives error on expressions containing
exp()
http://code.google.com/p/sympy/issues/detail?id=1308
In [12]: simplify(exp(-Rational(1)/Rational(2)) - exp(2))
--
10 matches
Mail list logo