#12413: Sage crashes to prompt while creating quitient of vector spaces
------------------------------+---------------------------------------------
Reporter: JStarx | Owner: jason, was
Type: defect | Status: needs_work
Priority: critical | Milestone: sage-5.0
Component: linear algebra | Keywords:
Work_issues: | Upstream: N/A
Reviewer: | Author: Martin Albrecht
Merged: | Dependencies:
------------------------------+---------------------------------------------
Comment(by vbraun):
I agree that the dimensions in the previous comment are correct.
Here is yet another crasher:
{{{
sage: matrix(GF(3),0,0,[]) * vector(GF(3),[])
lda must be >= MAX(N,1): lda=0 N=4194304Parameter 7 to routine cblas_sgemv
was incorrect
}}}
I suggest we add the following to the doctests:
{{{
sage: v0 = vector(GF(3),[])
sage: v1 = vector(GF(3),[1])
sage: m00 = matrix(GF(3),0,0,[])
sage: m01 = matrix(GF(3),0,1,[])
sage: m10 = matrix(GF(3),1,0,[])
sage: m11 = matrix(GF(3),1,1,[1])
sage: good = [ (v0,m00), (v0,m01), (v1,m10), (v1,m11), (m00,v0), (m10,v0),
(m01,v1), (m11,v1) ]
sage: for v,m in good:
... print v, 'x', m, '=', v*m
...
sage: bad = [ (v1,m00), (v1,m01), (v0,m10), (v0,m11), (m00,v1), (m10,v1),
(m01,v0), (m11,v0) ]
sage: for v,m in bad:
... try:
... v*m
... print 'Uncaught dimension mismatch!'
... except TypeError:
... pass
...
}}}
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/12413#comment:9>
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.