#15826: FractionField.divides(..) should try to convert parameter
-----------------------+-------------------------------------------------
Reporter: rws | Owner:
Type: defect | Status: new
Priority: minor | Milestone: sage-6.2
Component: algebra | Keywords: fraction, field, divisibility
Merged in: | Authors:
Reviewers: | Report Upstream: N/A
Work issues: | Branch:
Commit: | Dependencies:
Stopgaps: |
-----------------------+-------------------------------------------------
This looks wrong:
{{{
sage: R.<x>=LaurentPolynomialRing(QQ)
sage: f=(x^-1+x)/(1-2*x)
sage: f.divides(1/1)
True
sage: f.divides(1)
---------------------------------------------------------------------------
TypeError Traceback (most recent call
last)
<ipython-input-18-74ad9f61d7ec> in <module>()
----> 1 f.divides(Integer(1))
TypeError: Argument 'other' has incorrect type (expected
sage.structure.element.FieldElement, got sage.rings.integer.Integer)
}}}
--
Ticket URL: <http://trac.sagemath.org/ticket/15826>
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 http://groups.google.com/group/sage-trac.
For more options, visit https://groups.google.com/groups/opt_out.