#17366: for multivariate polynomial rings, degree method should convert its
argument
--------------------------+---------------------------------
   Reporter:  jhpalmieri  |            Owner:
       Type:  defect      |           Status:  new
   Priority:  major       |        Milestone:  sage-6.5
  Component:  algebra     |         Keywords:
  Merged in:              |          Authors:  John Palmieri
  Reviewers:              |  Report Upstream:  N/A
Work issues:              |           Branch:
     Commit:              |     Dependencies:
   Stopgaps:              |
--------------------------+---------------------------------
 As reported at #17205:
 {{{
     sage: x, y = ZZ['x','y'].gens()
     sage: GF(1091)['x','y'].random_element().degree(x) ### works
     sage: GF(3037000453)['x','y'].random_element().degree(x) ### fails
 }}}
 The 2nd and 3rd lines are handled by different code, one from
 `multi_polynomial_libsingular.pyx` and one from
 `multi_polynomial_element.py`. The first tries to convert the argument `x`
 into the parent ring, but the second does not.

 The point here is to reconcile the approaches: always try to convert the
 argument into the parent ring.

--
Ticket URL: <http://trac.sagemath.org/ticket/17366>
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/d/optout.

Reply via email to