ndarray-linalg icon indicating copy to clipboard operation
ndarray-linalg copied to clipboard

better error handling for LUFactorized's solve_inplace

Open rosaceous opened this issue 3 years ago • 0 comments

The current implementation wants a continuous allocated rhs, an invalid method call 'rhs.as_slice_mut().unwrap()' throws out a confusing runtime message 'called on Option::unwrap() on a None value'.

Should it be improved with a Result error?

rosaceous avatar Jul 26 '22 15:07 rosaceous