On Fri, Jun 26, 2009 at 4:14 PM, maxthemouse<adamwebb_...@yahoo.com> wrote: > > I am have been looking into the many errors reported in trac #6318 > (http://trac.sagemath.org/sage_trac/ticket/6318). Most seem to be due > to only one problem, namely passing Sage symbolic expressions. This > has been mentioned elsewhere: > http://groups.google.com/group/sage-devel/browse_thread/thread/7e3b729d6bb58a36# > > > A fricas specific thing seems to cause two errors. The returned type > is different in fricas than from axiom in some cases. > > example 1: > sage: a = axiom('Fraction Integer') > sage: print a > Fraction Integer > > sage: b = fricas('Fraction Integer') > sage: print b > Fraction(Integer) > > When the type is one word like 'Integer' they give the same string. > > example 2: > sage: two = fricas(2) > sage: two.comma(3) > [2,3] > sage: two.comma(3,4) > [2,3,4] > sage: _.type() > Tuple(PositiveInteger) <======== expected result is Tuple > PositiveInteger > > There is a specific line in the type() method of > axiom.PanAxiomElement that evaluates self.name() and receives a string > from axiom or fricas which contains the type information. I am > guessing that it is also used to make the print string. The change > breaks the tests. Is the change intentional or accidental? Someone > from fricas will have to say.
Then you should join the fricas-devel mailing list and send this message there too: "fricas-devel" <fricas-de...@googlegroups.com>, I would, but it's important that you see the response, of course. > > I hope this helps. > > Cheers, > Adam > > > -- William Stein Associate Professor of Mathematics University of Washington http://wstein.org --~--~---------~--~----~------------~-------~--~----~ To post to this group, send email to sage-devel@googlegroups.com To unsubscribe from this group, send email to sage-devel-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sage-devel URLs: http://www.sagemath.org -~----------~----~----~----~------~----~------~--~---