Opened 10 years ago

Last modified 10 years ago

#11721 closed defect

Silent failures in matrix code — at Initial Version

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

Status badges

Description

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.

Change History (1)

Changed 10 years ago by rbeezer

Note: See TracTickets for help on using tickets.