#6832: [with patch, needs review] bug in inverse_mod for number field elements
---------------------------+------------------------------------------------
Reporter: mtaranes | Owner: somebody
Type: defect | Status: new
Priority: major | Milestone: sage-4.1.2
Component: number fields | Keywords: number fields
Reviewer: | Author:
Merged: |
---------------------------+------------------------------------------------
In the documentation for inverse_mod for (integral) elements of a number
field says that the input may be "an ideal, or an element or list of
elements generating a nonzero ideal" which is not true right now.[[BR]]
{{{
sage: k.<a> = NumberField(x^2 + 23)
sage: d = a + 3
sage: d.inverse_mod(a)
Traceback (most recent call last)
...
AttributeError: ...
}}}
I fixed that and added an example in the doctest (patch based on 4.1.1)
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/6832>
Sage <http://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
-~----------~----~----~----~------~----~------~--~---