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.
Sorry about that, I'll try to get it fixed tonight.
Fixed in the develop branch via #1124.
Thanks a lot for the quick fix Eric! The fix is applied now in v4.4.2
Most helpful comment
Sorry about that, I'll try to get it fixed tonight.