#5408: Matrix kernel with PARI algorithm passes wrong type
----------------------------+-----------------------------------------------
 Reporter:  rbeezer         |       Owner:  rbeezer     
     Type:  defect          |      Status:  new         
 Priority:  minor           |   Milestone:  sage-3.4.1  
Component:  linear algebra  |    Keywords:  kernel, PARI
----------------------------+-----------------------------------------------
 Using the PARI kernel algorithm returns a PARI object which is unpacked as
 a list with the rows given as tuples.  When this is passed to
 hermite_form() the object is not of the right type.

 {{{
 sage: a = matrix(ZZ, [[1,2],[2,4]])
 sage: a.kernel(algorithm='pari')
 ---------------------------------------------------------------------------
 AttributeError                            Traceback (most recent call
 last)

 /home/rob/.sage/temp/wave/8545/_home_rob__sage_init_sage_0.py in
 <module>()

 /opt/sage-3.3/local/lib/python2.5/site-
 packages/sage/matrix/matrix_integer_dense.so in
 sage.matrix.matrix_integer_dense.Matrix_integer_dense.kernel
 (sage/matrix/matrix_integer_dense.c:16256)()

 AttributeError: 'list' object has no attribute 'hermite_form'
 }}}

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/5408>
Sage <http://sagemath.org/>
Sage - Open Source Mathematical Software: Building the Car Instead of 
Reinventing the Wheel

--~--~---------~--~----~------------~-------~--~----~
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