#11836: gens_reduced() does not handle "large" ideals
-----------------------------+----------------------------------------------
Reporter: mirela | Owner: jdemeyer
Type: defect | Status: needs_review
Priority: major | Milestone: sage-4.7.2
Component: number fields | Keywords:
Work_issues: | Upstream: N/A
Reviewer: Marco Streng | Author: Jeroen Demeyer
Merged: | Dependencies: #11130
-----------------------------+----------------------------------------------
Comment(by mstreng):
Ok, so here's something that really puzzles me:
{{{
sage: P
*** Warning: precision too low for generators, not given.
Fractional ideal (49582667258207098257547477827105364096774*a +
402403512193607551973543413116828658131543)
sage: P
*** Warning: precision too low for generators, not given.
Fractional ideal (49582667258207098257547477827105364096774*a +
402403512193607551973543413116828658131543)
}}}
I get the warning twice, indicating that something isn't cached!
In fact, if I do
{{{
sage: trace('P.is_principal()')
}}}
twice, then I get the following each time:
{{{
-> 1068 self.__ideal_class_log = list(v[0])
}}}
So you're setting {{{self.__ideal_class_log}}}, but the next time, {{{if
not hasattr(self, "__ideal_class_log")}}} is False again!
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/11836#comment:16>
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.