#12841: update M4RIE to newest upstream release
-----------------------------------+----------------------------------------
       Reporter:  malb             |         Owner:  tbd                        
             
           Type:  enhancement      |        Status:  needs_review               
             
       Priority:  major            |     Milestone:  sage-5.2                   
             
      Component:  packages         |    Resolution:                             
             
       Keywords:                   |   Work issues:  solaris                    
             
Report Upstream:  N/A              |     Reviewers:  Simon King, Jeroen 
Demeyer, Volker Braun
        Authors:  Martin Albrecht  |     Merged in:                             
             
   Dependencies:  #12840           |      Stopgaps:                             
             
-----------------------------------+----------------------------------------

Comment (by vbraun):

 For the record, matrix_modn_dense_template.pxi with some extra prints:
 {{{
         else:
             print 'word_size != sizeof(char)', word_size, <int><char*>s
             um = <mod_int*><char *>s
             for i in range(self._nrows):
                 row_self = self._matrix[i]
                 row_um = &um[i*self._ncols]
                 for j in range(self._ncols):
                     print i, j, row_self[j], <mod_int>row_self[j],
 self._ncols, self._nrows, <int>row_um
                     row_um[j] = <mod_int>row_self[j]
                     print "crash"
 }}}
 yields
 {{{
 sage: random_matrix(ZZ.quo(123456), 10,10)._pickle()
 word_size != sizeof(char) 8 68071796
 0 0 60348.0 60348 10 10 68071796
 ---------------------------------------------------------------------------
 RuntimeError                              Traceback (most recent call
 last)

 /home/vbraun/opt/mark/sage-5.1.beta3/devel/sage-main/<ipython console> in
 <module>()

 /home/vbraun/opt/mark/sage-5.1.beta3/local/lib/python2.7/site-
 packages/sage/matrix/matrix_modn_dense_double.so in
 sage.matrix.matrix_modn_dense_double.Matrix_modn_dense_template._pickle
 (sage/matrix/matrix_modn_dense_double.cpp:6537)()

 RuntimeError: Bus error
 }}}

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