#12541: Remove Sequence test in span
------------------------------+---------------------------------------------
Reporter: novoselt | Owner: jason, was
Type: defect | Status: needs_work
Priority: minor | Milestone: sage-5.0
Component: linear algebra | Keywords:
Work_issues: | Upstream: N/A
Reviewer: Rob Beezer | Author: Andrey Novoseltsev
Merged: | Dependencies:
------------------------------+---------------------------------------------
Changes (by rbeezer):
* status: needs_review => needs_work
Comment:
Replying to [comment:15 novoselt]:
> OK, I've rewritten span function a bit to catch more issues and
eliminate isinstance.
I like the looks of the new version. I did discover one problem.
{{{
sage: V = span(ZZ, [[1,2,3/4]])
sage: V
Free module of degree 3 and rank 1 over Integer Ring
Echelon basis matrix:
[ 1 2 3/4]
}}}
I think this can be fixed by passing `R` into the final `span` method in
the return (rather than `base_ring`.) This should have been caught by the
span method, which seems to be the real fault here, I've isolated that at
#12688.
I might write a few more doctests for the span() function as part of final
testing for this.
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/12541#comment:17>
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.