#16803: Reimplement matrix_integer_dense using FLINT
-------------------------------------+-------------------------------------
       Reporter:  mmasdeu            |        Owner:
           Type:  enhancement        |       Status:  needs_work
       Priority:  major              |    Milestone:  sage-6.4
      Component:  linear algebra     |   Resolution:
       Keywords:  flint, matrix      |    Merged in:
        Authors:  Marc Masdeu        |    Reviewers:  William Stein
Report Upstream:  N/A                |  Work issues:
         Branch:                     |       Commit:
  u/jdemeyer/ticket/16803            |  0c75c2ba9475a2eb02807387375b88140d1137c3
   Dependencies:                     |     Stopgaps:
-------------------------------------+-------------------------------------

Comment (by jdemeyer):

 Still needs work because of
 {{{
 sage -t src/sage/combinat/q_analogues.py
 **********************************************************************
 File "src/sage/combinat/q_analogues.py", line 200, in
 sage.combinat.q_analogues.q_binomial
 Failed example:
     q_binomial(4,2,matrix([[2,1],[-1,3]]))
 Exception raised:
     Traceback (most recent call last):
       File "/usr/local/src/sage-git/local/lib/python2.7/site-
 packages/sage/doctest/forker.py", line 480, in _run
         self.compile_and_execute(example, compiler, test.globs)
       File "/usr/local/src/sage-git/local/lib/python2.7/site-
 packages/sage/doctest/forker.py", line 843, in compile_and_execute
         exec compiled in globs
       File "<doctest sage.combinat.q_analogues.q_binomial[14]>", line 1,
 in <module>
 
q_binomial(Integer(4),Integer(2),matrix([[Integer(2),Integer(1)],[-Integer(1),Integer(3)]]))
       File "/usr/local/src/sage-git/local/lib/python2.7/site-
 packages/sage/combinat/q_analogues.py", line 308, in q_binomial
         return numerat/denomin
       File "element.pyx", line 2743, in
 sage.structure.element.Matrix.__div__
 (build/cythonized/sage/structure/element.c:20137)
       File "matrix_integer_dense.pyx", line 923, in
 sage.matrix.matrix_integer_dense.Matrix_integer_dense._matrix_times_matrix_
 (build/cythonized/sage/matrix/matrix_integer_dense.c:11570)
       File "c_lib.pyx", line 97, in sage.ext.c_lib.sig_raise_exception
 (build/cythonized/sage/ext/c_lib.c:1208)
     SignalError: Segmentation fault
 **********************************************************************
 }}}

 Given that this test also fails (not with a segfault though) in the
 patchbot, I guess the merging isn't to blame.

 Please fix this...

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