#14366: Zero does not belong to zero ideal of a number field
---------------------------------+------------------------------
Reporter: olitb | Owner: davidloeffler
Type: defect | Status: needs_info
Priority: major | Milestone: sage-5.11
Component: number fields | Resolution:
Keywords: sd51 | Merged in:
Authors: | Reviewers:
Report Upstream: N/A | Work issues:
Branch: | Dependencies:
Stopgaps: |
---------------------------------+------------------------------
Comment (by AlexGhitza):
Replying to [comment:6 saraedum]:
> I just bumped into this bug myself. Wouldn't it make more sense to make
coordinates() return an empty tuple instead? I believe this makes sense
since 0 is in the zero-dimensional vector space.
Yep, in vector spaces:
{{{
sage: V = QQ^1
sage: W = V.subspace([0])
sage: W.coordinates(0)
[]
sage: W.coordinates(1)
TypeError
}}}
--
Ticket URL: <http://trac.sagemath.org/ticket/14366#comment:10>
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/groups/opt_out.