Describe the bug
Trying to find the eigenvalues and eigenvectors of the matrix [[2, 1], [0, 2]] throws an error.
Expected result: eigenvector of [1, 0] with eigenvalue 2.
To Reproduce
Steps to reproduce the behavior.
import { eigs } from "mathjs";
const A = [ [5, 2.3], [2.3, 1] ];
const B = [ [2.0, 1.0], [0.0, 2.0] ];
console.log(eigs(A));
// console.log(eigs(B));
Uncommenting the only commented line should throw the Error. (Matrix A is there to make sure that it at least runs ok on some input)