#6329: optional doctest failure -- breakage in the sage<-->magma interface
--------------------------+-------------------------------------------------
Reporter: was | Owner: tbd
Type: defect | Status: needs_info
Priority: minor | Milestone: sage-4.7.2
Component: interfaces | Keywords:
Work_issues: | Upstream: N/A
Reviewer: | Author: Mariah Lenox
Merged: | Dependencies:
--------------------------+-------------------------------------------------
Changes (by mhansen):
* status: needs_review => needs_info
Comment:
It seems like the correct fix would be to always put the denominator in
the _magma_init_ method.
{{{
s = self.numerator()._magma_init_(magma)
s += '/' + self.denominator()._magma_init_(magma)
return s
}}}
instead of
{{{
s = self.numerator()._magma_init_(magma)
if not self.is_integral():
s += '/' + self.denominator()._magma_init_(magma)
return s
}}}
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/6329#comment:5>
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 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-trac?hl=en.