Status: New
Owner: ----
Labels: Type-Defect Priority-High
New issue 3340 by [email protected]: wrong result in simple symbolic
calculation
http://code.google.com/p/sympy/issues/detail?id=3340
Sympy computes a wrong result for a simple example. If "S" is used the term
is solved correctly!
System Specs:
Ubuntu 12.04
python 2.7.3
sympy 0.7.1.rc1
minimal example:
from sympy import S, Symbol
h = Symbol("h")
b = Symbol("b")
S("(-3/2*h)**2*b*h + b*h**3/12")
7*b*h**3/3 ---> correct
(-3/2*h)**2*b*h + b*h**3/12
49*b*h**3/12 ---> wrong!
Moreover the second result is sensitive to the sign within the first
bracket!
(3/2*h)**2*b*h + b*h**3/12
13*b*h**3/12 ---> ????
br
Jakob
--
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.