#19377: dot product of sparse vector with dense vector: segfault
-------------------------------------+-------------------------------------
       Reporter:  jhpalmieri         |        Owner:
           Type:  defect             |       Status:  positive_review
       Priority:  critical           |    Milestone:  sage-6.9
      Component:  linear algebra     |   Resolution:
       Keywords:                     |    Merged in:
        Authors:  Travis Scrimshaw   |    Reviewers:  John Palmieri
Report Upstream:  N/A                |  Work issues:
         Branch:                     |       Commit:
  public/modules/dot_sparse_dense-19377|  
26a0b6bc624b8eee81d35dfcf0dfa85b626a6245
   Dependencies:                     |     Stopgaps:
-------------------------------------+-------------------------------------

Comment (by jdemeyer):

 John: essentially
 {{{
 cdef t a = <t?>b
 }}}
 is equivalent to
 {{{
 if not isinstance(b, t):
     raise TypeError
 cdef t a = <t>b
 }}}

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

Reply via email to