#20999: ZZ(libgap(-1)) and QQ(libgap(-1)) fails
-------------------------------------+------------------------
Reporter: vdelecroix | Owner:
Type: defect | Status: new
Priority: major | Milestone: sage-7.3
Component: interfaces | Resolution:
Keywords: | Merged in:
Authors: Vincent Delecroix | Reviewers:
Report Upstream: N/A | Work issues:
Branch: | Commit:
Dependencies: | Stopgaps:
-------------------------------------+------------------------
Description changed by vdelecroix:
Old description:
> {{{
> sage: QQ(libgap(-1))
> Traceback (most recent call last):
> ...
> TypeError: Unable to coerce -1 (<type
> 'sage.libs.gap.element.GapElement_Integer'>) to Rational
> }}}
New description:
{{{
sage: ZZ(libgap(-1))
Traceback (most recent call last):
...
TypeError: Unable to coerce -1 (<type
'sage.libs.gap.element.GapElement_Integer'>) to Integer
sage: QQ(libgap(-1))
Traceback (most recent call last):
...
TypeError: Unable to coerce -1 (<type
'sage.libs.gap.element.GapElement_Integer'>) to Rational
}}}
--
--
Ticket URL: <https://trac.sagemath.org/ticket/20999#comment:1>
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.