Opened 10 years ago

Last modified 10 years ago

#11721 closed defect

Silent failures in matrix code — at Version 1

Reported by: rbeezer Owned by: jason, was
Priority: minor Milestone: sage-4.8
Component: linear algebra Keywords: beginner, sd32
Cc: jason Merged in:
Authors: Rob Beezer Reviewers:
Report Upstream: N/A Work issues:
Branch: Commit:
Dependencies: Stopgaps:

Status badges

Description (last modified by rbeezer)

If you call rows() for a matrix and supply a bad argument, it just goes on its way.

sage: A = matrix(QQ, 2, range(4))
sage: A.rows(1)
[(0, 1), (2, 3)]

Same for columns.

A request for a Jordan block of negative size just goes on its way.

sage: jordan_block(6.2, -8)

Also - some general clean-up while I was in the area.


  1. trac_11721-matrix-arguments.patch

Change History (2)

Changed 10 years ago by rbeezer

comment:1 Changed 10 years ago by rbeezer

  • Authors set to Rob Beezer
  • Description modified (diff)
  • Keywords beginner added
  • Status changed from new to needs_review
Note: See TracTickets for help on using tickets.