SelfAdjointEigenSolver::compute does not handle matrices of size (1,1) correctly
Submitted by Burkhard
Assigned to Nobody
Link to original bugzilla bug (#316)
Description
Created attachment 194
Small program to reproduce bug.
When using SelfAdjointEigenSolver::compute on (1,1)-sized matrices, the size of SelfAdjointEigenSolver::eigenvalues() is wrong (i.e. not 1). I am attaching some code to reproduce the error and a patch.
Attachment 194, "Small program to reproduce bug.":
eigenbug.cpp
Edited by Eigen Bugzilla