#18863: Subgroup doesn't work with number field unit group
-------------------------+-------------------------------------------------
Reporter: | Owner:
katestange | Status: new
Type: defect | Milestone: sage-6.8
Priority: minor | Keywords: unit group, number field,
Component: group | subgroup
theory | Authors:
Merged in: | Report Upstream: N/A
Reviewers: | Branch:
Work issues: | Dependencies:
Commit: |
Stopgaps: |
-------------------------+-------------------------------------------------
I think we would like the following code to work:
{{{
N.<a> = NumberField(x^3+2)
G = N.unit_group()
g = G.random_element()
G.subgroup([g])
}}}
But at the moment the last line produces a runtime error
{{{
RuntimeError: Gap produced error output
Error, Variable: 'u1' must have a value
}}}
This is currently reproducible on the single cell sage server and sage
cloud. It does not seem to depend on the number field in question.
As far as I can tell, subgroup() is unable to recognise the input as
elements of the group.
--
Ticket URL: <http://trac.sagemath.org/ticket/18863>
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.