This is known. Please see http://groups.google.com/group/sympy-patches/browse_thread/thread/f62c954c3fc948d8
There is a simple patch to fix it there (it's trivial), and Mateusz's latest polysn branch fixes it too I think. Aaron Meurer On Apr 15, 2010, at 1:42 PM, Toon Verstraelen wrote: > Hi, > > I get this failing doctest: > > ********************************************************************** > File > "/mnt/data/toon/unief/research/code/work/sympy/doc/src/modules/polynomials.txt", > line 216, in polynomials.txt > Failed example: > solve_poly_system([y**2 - x**3 + 1, y*x], x, y) > Expected: > ___ ___ > I*\/ 3 I*\/ 3 > [(0, -I), (1, 0), (-1/2 - -------, 0), (-1/2 + -------, 0), (0, I)] > 2 2 > Got: > ___ ___ > I*\/ 3 I*\/ 3 > [(0, I), (0, -I), (1, 0), (-1/2 + -------, 0), (-1/2 - -------, 0)] > 2 2 > ********************************************************************** > 1 items had failures: > 1 of 56 in polynomials.txt > ***Test Failed*** 1 failures. > doc/src/modules/polynomials.txt [56] [1] > > > 'git bisect' revealed that the problem starts with this patch: > > Author: Ųyvind Jensen <[email protected]> 2010-03-28 10:29:39 > Committer: Ųyvind Jensen <[email protected]> 2010-03-29 12:40:07 > Parent: 6fd84163f1258ee6eb2c24d3d879ba4debd53320 (lambdify(Piecewise) now > uses iff for Python 2.4 compatability.) > Child: 9d00dc60e3c455f7aac12cb82dbf44a8cd2b4317 (Added a test for comparison > of noncommutative symbols) > Branches: master, remotes/origin/master > Follows: sympy-0.6.6 > Precedes: > > Fix Basic.__lt__() and friends for noncommutative symbols (issue 1878) > > All comparisons of for non-commutative symbols used to return False. Now > an Inequality or StrictInequality is returned instead. > > > I encountered this on ubuntu 10.4 beta2 on an i686 box and on ubuntu 9.10 on > an x86_64 box? Are there others that have this problem too? > > cheers, > > Toon > > -- > 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. > -- 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.
