On 9/14/07, Kate <[EMAIL PROTECTED]> wrote: > > Never mind, I suspect pentium4-fc6 means that it's "fedora core 6". > > Yes, Fedora Core 6 > > % cat /proc/version > Linux version 2.6.20-1.2962.fc6 ([EMAIL PROTECTED] > bc2-14.build.redhat.com) (gcc version 4.1.1 20070105 (Red Hat > 4.1.1-51)) #1 SMP Tue Jun 19 19:27:14 EDT 2007 > > > Does it always fail that test in the same way?
Thanks for the additional testing. I think the problem stems partly from the lack of a specialized type for symbolic matrices (which is actually frequently an efficiency issue for people): I've made this trac ticket 649: http://trac.sagemath.org/sage_trac/ticket/649 and made it a high priority. Please continue to report any and all problems you see with SAGE. William > > If I just run > .sage -t devel/sage-main/sage/plot/plot3d/transform.pyx > _now_ I get an exception. (Why did I not see this from the output of > 'make check'?) > > ************************************************** > File "transform.pyx", line 178: > sage: for ij in ix: m[ij] = m[ij].simplify_rational() > Exception raised: > Traceback (most recent call last): > File "/home/kate/sage/sage-2.8.4.2-x86-Linux/local/lib/python2.5/ > doctest.py", line 1212, in __run > compileflags, 1) in test.globs > File "<doctest __main__.example_0[21]>", line 1, in <module> > for ij in ix: m[ij] = m[ij].simplify_rational()###line 178: > sage: for ij in ix: m[ij] = m[ij].simplify_rational() > File "/home/kate/sage/sage-2.8.4.2-x86-Linux/local/lib/python2.5/ > site-packages/sage/calculus/calculus.py", line 2091, in > simplify_rational > return self.parent()(self._maxima_().fullratsimp()) > File "/home/kate/sage/sage-2.8.4.2-x86-Linux/local/lib/python2.5/ > site-packages/sage/calculus/calculus.py", line 331, in __call__ > return self._coerce_impl(x) > File "/home/kate/sage/sage-2.8.4.2-x86-Linux/local/lib/python2.5/ > site-packages/sage/calculus/calculus.py", line 339, in _coerce_impl > return symbolic_expression_from_maxima_element(x) > File "/home/kate/sage/sage-2.8.4.2-x86-Linux/local/lib/python2.5/ > site-packages/sage/calculus/calculus.py", line 4963, in > symbolic_expression_from_maxima_element > return symbolic_expression_from_maxima_string(x.name()) > File "/home/kate/sage/sage-2.8.4.2-x86-Linux/local/lib/python2.5/ > site-packages/sage/calculus/calculus.py", line 4955, in > symbolic_expression_from_maxima_string > x = SR(w) > File "/home/kate/sage/sage-2.8.4.2-x86-Linux/local/lib/python2.5/ > site-packages/sage/calculus/calculus.py", line 331, in __call__ > return self._coerce_impl(x) > File "/home/kate/sage/sage-2.8.4.2-x86-Linux/local/lib/python2.5/ > site-packages/sage/calculus/calculus.py", line 363, in _coerce_impl > raise TypeError, "cannot coerce type '%s' into a > SymbolicExpression."%type(x) > TypeError: cannot coerce type '<class > 'sage.interfaces.sage0.Sage'>' into a SymbolicExpression. > ********************************************************************** > File "transform.pyx", line 184: > sage: m # or show(m) > Expected: > [ (1 - cos(theta))*x^2 + > cos(theta) -(sin(theta)*abs(z)^3 + (cos(theta) - 1)*x*z^2*sqrt(-z^2 - > x^2 + 1))/z^2 (sin(theta)*sqrt(-z^2 - x^2 + 1)*abs(z)^3 + (1 - > cos(theta))*x*z^4)/z^3] > [ sin(theta)*abs(z) + (1 - cos(theta))*x*sqrt(-z^2 - > x^2 + 1) (cos(theta) - 1)*z^2 + (cos(theta) - > 1)*x^2 + 1 -(sin(theta)*x*abs(z) + (cos(theta) - 1)*z^2*sqrt(-z^2 > - x^2 + 1))/z] > [ -(sin(theta)*sqrt(-z^2 - x^2 + 1)*abs(z) + (cos(theta) - > 1)*x*z^2)/z -((cos(theta) - 1)*z^2*sqrt(-z^2 - x^2 + 1) - > sin(theta)*x*abs(z))/z (1 - > cos(theta))*z^2 + cos(theta)] > Got: > [ sage2 sage4 sage6] > [ sage8 sage10 sage12] > [sage14 sage16 sage18] > ********************************************************************** > 1 items had failures: > 2 of 26 in __main__.example_0 > ***Test Failed*** 2 failures. > > Kate > > > > > > -- William Stein Associate Professor of Mathematics University of Washington http://wstein.org --~--~---------~--~----~------------~-------~--~----~ 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/sage-support URLs: http://sage.math.washington.edu/sage/ and http://sage.scipy.org/sage/ -~----------~----~----~----~------~----~------~--~---
