Your message dated Sat, 19 Nov 2011 15:04:32 +0100
with message-id <[email protected]>
and subject line
has caused the Debian Bug report #644713,
regarding expand returns incorrect results for non-commutative symbols
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
644713: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=644713
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: sympy
Version: 0.6.7-1.1
Severity: normal
Tags: fixed-upstream
import sympy
print sympy.__version__
a, b = sympy.symbols(["a", "b"], real=False, commutative=False)
print ( (a-b)**2 ).expand(mul=True)
print ( (a-b)**3 ).expand(mul=True)
outputs
'0.6.7'
-a*b - b*a + a**2 + b**2
-a*b - b*a + a**2 + b**2
the result of (a-b)**3 is obviously incorrect.
This issue is fixed upstream and outputs the correct result:
'0.7.1'
-a*b + a**2 - b*a + b**2
-a*b*a + a*b**2 - a**2*b + a**3 + b*a*b - b*a**2 + b**2*a - b**3
signature.asc
Description: OpenPGP digital signature
--- End Message ---
--- Begin Message ---
Version: 0.7.1.rc1-1
--- End Message ---
_______________________________________________
Python-modules-team mailing list
[email protected]
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/python-modules-team