Paulo César Pereira de Andrade wrote: > 2009/9/15 kcrisman <kcris...@gmail.com>: >>>> As for you for now, you'd need to change the eigenvectors() command in >>>> the matrix code. If you wanted to do so and submit a patch, it would be >>>> greatly appreciated! >> But all doctests pass for me in alpha1: >> >> ./sage -t "devel/sage/sage/matrix/" >> All tests passed! >> Total time for all tests: 177.1 seconds > > I get slightly different results, with two known (hopefully :-) > "minor" problems: > % sage -t "devel/sage/sage/matrix/" > ... > sage -t "devel/sage/sage/matrix/matrix_double_dense.pyx" > ********************************************************************** > File "/usr/share/sage/devel/sage/sage/matrix/matrix_double_dense.pyx", line > 996: > sage: V > Expected: > [-0.392540507864 0.824163383692 0.408248290464] > [-0.560772154092 0.137360563949 -0.816496580928] > [ -0.72900380032 -0.549442255795 0.408248290464] > Got: > [-0.392540507864 0.824163383692 -0.408248290464] > [-0.560772154092 0.137360563949 0.816496580928] > [ -0.72900380032 -0.549442255795 -0.408248290464] > ********************************************************************** > 1 items had failures: > 1 of 27 in __main__.example_28 > ***Test Failed*** 1 failures. > ...
Just a sign issue on the last eigenvector, it looks like, which is not a problem mathematically. The doctest should probably just check to see that the vector is really an eigenvector, rather than check the actual output. > sage -t "devel/sage/sage/matrix/constructor.py" > ********************************************************************** > File "/usr/share/sage/devel/sage/sage/matrix/constructor.py", line 155: > sage: g = graphs.PetersenGraph() > Expected nothing > Got: > doctest:16: DeprecationWarning: the sets module is deprecated > doctest:18: DeprecationWarning: > ********************************************************** > matplotlib.numerix and all its subpackages are deprecated. > They will be removed soon. Please use numpy instead. > ********************************************************** > <BLANKLINE> > ********************************************************************** > 1 items had failures: > 1 of 94 in __main__.example_1 > ***Test Failed*** 1 failures. > ... > The numerix issue should be fixed in #5448, IIRC. -- Jason Grout --~--~---------~--~----~------------~-------~--~----~ To post to this group, send an email to sage-devel@googlegroups.com To unsubscribe from this group, send an email to sage-devel-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sage-devel URL: http://www.sagemath.org -~----------~----~----~----~------~----~------~--~---