Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
math.inv() causes "Can not calculate inverse, determinant is zero" #1122
The following simple code works fine with mathjs v4.4.0, but it throws an exception in v4.4.1.
let mat = math.matrix ([ [1, 0, 0], [0, -1, 1], [0, 0, 1] ]); console.log (math.inv (mat)); // Error: Can not calculate inverse, determinant is zero
This is probably a bug caused by #1114.