#3068: empty matrices: smith_form() throws a RuntimeError
----------------------------+-----------------------------------------------
Reporter: dfdeshom | Owner: was
Type: defect | Status: closed
Priority: major | Milestone: sage-3.2.2
Component: linear algebra | Resolution: fixed
Keywords: |
----------------------------+-----------------------------------------------
Changes (by davidloeffler):
* status: new => closed
* resolution: => fixed
Comment:
In 3.2.2.alpha0 this works fine as long as the matrix has 0 rows and 0
columns, but for 0 rows and a nonzero number of columns (or vice versa) we
still get the error. This arises from the fact that Pari doesn't have the
notion of a matrix with 0 rows and 1 column, so the matrix gets
"truncated" (!) before being passed to Pari.
I will fix this as part of #4681.
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/3068#comment:2>
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
-~----------~----~----~----~------~----~------~--~---