Fix #5804 so eigs works on matrices with dimension less than 6
Merge pull request #5808 from malmaud/n5804

Fix #5804 so eigs works on matrices with dimension less than 6