The following fails under 64 bit systems in my assert branch. I could
really use some help figuring out why. If someone could run the
following and post the results, I would appreciate it:
Please run this in my (smichr) `assert` branch:
from sympy.abc import *
from sympy import *
from sympy.core.exprtools import (Factors, Term, _gcd_terms)
f = 2*(x + 1)*(x + 4)/(5*x**2 + 5) + (2*x + 2)*(x + 5)/(x**2 +1)/5
+ (2*x + 2)*(x + 6)/(5*x**2 + 5)
print srepr((3*x + 6).primitive())
print srepr(Term((2*x + 2)*(3*x + 6)**2))
print srepr(_gcd_terms(f))
try:assert (3*x + 6).primitive() == (3, x + 2)
except:print 'fail1'
try:assert Term((2*x + 2)*(3*x + 6)**2) == Term(18, Factors({x +
1: 1,x + 2: 2}), Factors({}))
except:print 'fail2'
try:assert _gcd_terms(f) == ((S(6)/5)*((1 + x)/(1 + x**2)), 5 + x,
1)
except:print 'fail3'
Thanks.
--
You received this message because you are subscribed to the Google Groups
"sympy" 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?hl=en.