Help save net neutrality! Learn more.
Close

#2515 nullspace bug

None
closed
None
5
2012-12-15
2012-12-10
No

OK:

(%i2) nullspace(matrix([3,4],[6,8]));
(%o2) span(matrix([-4],[3]))

Not OK:

(%i3) m[1] : 42$

(%i4) nullspace(matrix([3,4],[6,8]));
evaluation: array m must have 1 indices; found: m[1,1]

The fix is easy--use inpart not [i,j] to retrieve matrix entries.

Discussion

  • Barton Willis

    Barton Willis - 2012-12-10

    Instead of using inpart(m, XXX, YYY) it's easier to declare m to be local.

     
  • Barton Willis

    Barton Willis - 2012-12-15

    Fixed with Commit:ee729b508e23b5f2f8e770175a10c0581e6c7720

     
  • Barton Willis

    Barton Willis - 2012-12-15
    • status: open --> closed
     

Log in to post a comment.