mitodl / mitx-grading-library

The MITx Grading Library, a python grading library for edX
https://edge.edx.org/courses/course-v1:MITx+grading-library+examples/
BSD 3-Clause "New" or "Revised" License
14 stars 9 forks source link

implement try/catch for singular matrices in __pow__ #136

Closed ChristopherChudzicki closed 6 years ago

ChristopherChudzicki commented 6 years ago

Addresses #131

@jolyon Nearly singular things might still behave badly? You probably know better than me...

jolyonb commented 6 years ago

Nearly-singular can still behave badly, but for the purposes of numerics, they're essentially singular. This should cover all bases.