#17530: AssertionError in relativize()
-----------------------------+----------------------------
Reporter: jdemeyer | Owner:
Type: defect | Status: new
Priority: major | Milestone: sage-6.5
Component: number fields | Keywords:
Merged in: | Authors:
Reviewers: | Report Upstream: N/A
Work issues: | Branch:
Commit: | Dependencies:
Stopgaps: |
-----------------------------+----------------------------
{{{
sage: K.<I,sqrt2> = NumberField([x^2+1, x^2-2])
sage: L,phi =
cyclotomic_polynomial(20).change_ring(K).splitting_field('z', map=True)
sage: L.relativize(phi,'z')
---------------------------------------------------------------------------
AssertionError Traceback (most recent call
last)
<ipython-input-3-227d5d5d2b77> in <module>()
----> 1 L.relativize(phi,'z')
/usr/local/src/sage-config/local/lib/python2.7/site-
packages/sage/rings/number_field/number_field.pyc in relativize(self,
alpha, names, structure)
7805 # the solution space is one dimensional and the last entry
is non-zero
7806 # because a satisfies no smaller linear relation
-> 7807 assert soln_space.dimension() == 1
7808 (reln, ) = soln_space.basis()
7809 assert reln[-1] != 0
AssertionError:
}}}
--
Ticket URL: <http://trac.sagemath.org/ticket/17530>
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.