Closed jolyonb closed 6 years ago
Good point. Probably a simple try/catch in MathArray's pow method.
@jolyonb We had talked about rolling this into #134, but I did not address it yet. Partly because it seems separate issue, but mostly because #134 is ready for review and I should work on my classes :)
But if this is causing problems for anyone you know of, let me know and I'll make the time soon.
No, no rush at all.
@jolyonb I should have deleted that comment :) I decided it was easy and so I did it. #136
Ah, I started with the earliest email from you and began working my way up ;-)
If you raise a matrix with zero determinant to a negative power, the raw error from
np.linalg.pow
is raised, rather than catching the error beforehand and presenting a nice error message.