#18345: fix bug in fricas/axiom output
-------------------------------------+-------------------------------------
Reporter: github/billpage | Owner:
Type: defect | Status: needs_review
Priority: major | Milestone: sage-6.7
Component: interfaces: | Resolution:
optional | Merged in:
Keywords: | Reviewers:
Authors: | Work issues:
Report Upstream: N/A | Commit:
Branch: | 384afb6cf65ed07bf4bb0e7275e67a66cd3efcff
u/github/ticket/18345 | Stopgaps:
Dependencies: |
-------------------------------------+-------------------------------------
Comment (by vdelecroix):
What does the following fixes
{{{
+ vars=sage.symbolic.ring.var(str(self.variables())[1:-1])
+ if isinstance(vars,tuple):
+ return
sage.misc.sage_eval.sage_eval(self.unparsed_input_form(), locals={str(x):x
for x in vars})
+ else:
+ return
sage.misc.sage_eval.sage_eval(self.unparsed_input_form(),
locals={str(vars):vars})
}}}
There should be at least one doctest for that.
--
Ticket URL: <http://trac.sagemath.org/ticket/18345#comment:10>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica,
and MATLAB
--
You received this message because you are subscribed to the Google Groups
"sage-trac" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/sage-trac.
For more options, visit https://groups.google.com/d/optout.