#10250: segfault when multiplying QQ constant and SR vector (with user basis)
------------------------------+---------------------------------------------
   Reporter:  jason           |       Owner:  jason, was
       Type:  defect          |      Status:  new       
   Priority:  major           |   Milestone:            
  Component:  linear algebra  |    Keywords:            
     Author:                  |    Upstream:  N/A       
   Reviewer:                  |      Merged:            
Work_issues:                  |  
------------------------------+---------------------------------------------

Comment(by jason):

 This is puzzling that this works, though:

 {{{
 sage: V=(SR^2).subspace_with_basis([[1,1]])
 sage: v=V([sqrt(2)/2,sqrt(2)/2])
 sage: parent(v)
 Vector space of degree 2 and dimension 1 over Symbolic Ring
 User basis matrix:
 [1 1]
 sage: QQ(3)*v
 (3/2*sqrt(2), 3/2*sqrt(2))
 }}}

 So apparently creating the vector manually (rather than getting it as an
 eigenvector of a matrix) works okay.

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/10250#comment:1>
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.

Reply via email to