#11674: np.dot of two numeric matrices segfaults sage.
------------------------------+---------------------------------------------
   Reporter:  mister.wardrop  |          Owner:  jason, jkantor             
       Type:  defect          |         Status:  new                        
   Priority:  blocker         |      Milestone:  sage-4.7.1                 
  Component:  numerical       |       Keywords:  ATLAS segfault matrix numpy
Work_issues:                  |       Upstream:  N/A                        
   Reviewer:                  |         Author:                             
     Merged:                  |   Dependencies:                             
------------------------------+---------------------------------------------

Comment(by vbraun):

 {{{
 !sh
 vbraun@redhawk:~/Sage/sage-4.7.1.rc2$ gcc --version
 gcc (Ubuntu 4.4.3-4ubuntu5) 4.4.3
 Copyright (C) 2009 Free Software Foundation, Inc.
 This is free software; see the source for copying conditions.  There is NO
 warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR
 PURPOSE.
 }}}
 and
 {{{

 sage: sage: ms = np.load("matrices.npy")
 sage: sage: time np.dot(ms[0],ms[1])
 array([[ 0.,  0.,  0., ...,  0., -0., -0.],
        [ 0.,  0.,  0., ...,  0., -0., -0.],
        [ 0.,  0.,  0., ...,  0., -0., -0.],
        ...,
        [ 0.,  0.,  0., ...,  0.,  0.,  0.],
        [ 0.,  0.,  0., ...,  0.,  0.,  0.],
        [ 0.,  0.,  0., ...,  0.,  0.,  0.]])
 Time: CPU 0.12 s, Wall: 0.02 s
 sage:
 }}}
 works

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