On Tue, Oct 28, 2008 at 11:57 AM, Martin Rubey wrote: > > I get the following very weird result: > > sage: A=axiom.series(z,z=0) > sage: A > > sage: A > z > sage: B = (1/(1-A^2)) > sage: B > > 2 4 6 8 10 11 > 1 + z + z + z + z + z + O(z ) > sage: A > > 2 4 6 8 10 11 > 1 + z + z + z + z + z + O(z ) > sage: A > z > sage: B > z >
It would be good if you were more explicit, but I presume that what you find "weird" about this is that Sage appears to return different results for A and B at different times. Right? > Since this does not happen in FriCAS itself, I wonder what the reason could > be? > This looks like the sort of pexpect synchronization problems that I have seen before. I posted a fix for this that involves disabling readline when starting fricas: http://groups.google.com/group/fricas-devel/msg/539883f63bd320c7?hl=en Expect.__init__(self, name = 'axiom', prompt = '\([0-9]+\) -> ', command = "sh -c 'axiom -nox -noclef | cat'", If you try this and it works, please let me known. Regards, Bill Page. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "FriCAS - computer algebra system" 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/fricas-devel?hl=en -~----------~----~----~----~------~----~------~--~---
