Closed octopuscabbage closed 6 years ago
Should fix #45
Here is a (trivial) test case:
λ> let m = Data.Matrix.fromList 3 3 [0,0,0,0,0,0,0,0,0::Double] λ> Data.Matrix.inverse m Right ( *** Exception: getElem: Trying to get the (4,1) element from a 3x6 matrix. CallStack (from HasCallStack): error, called at ./Data/Matrix.hs:427:16 in matrix-0.3.5.0-Vu1MfM9DVkGI45qY2HPrU:Data.Matrix
Alright, test should be there.
Still need tests, Waiting on test case from @LATBauerdick Copied from his issue: