Status: Valid
Owner: ----
CC: [email protected]
Labels: Type-Defect Priority-Critical Polynomial WrongResult

New issue 3256 by [email protected]: Error in Wang's algorithm with specific random seed
http://code.google.com/p/sympy/issues/detail?id=3256

See https://groups.google.com/d/topic/sympy/QymvWAXFCpA/discussion. There is a test failure in master with the random seed 13604685. The issue goes down to Wang's factorization algorithm in the polys. The difference is at line 920, where a random number is used. The input to dmp_zz_wang is

f = [[[mpz(2)]], [[]], [[mpz(1), mpz(-1)], [mpz(-1), mpz(1),
mpz(0)]]], u = 2, K = ZZ, mod=None.

With this seed, it produces a wrong result (the exponents are all 0).

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