Commit 048ad318 authored by Davis King's avatar Davis King

Told the eigenvalue decomposition to always use the symmetric

eigen solver.

--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403938
parent 58d685d0
......@@ -172,7 +172,7 @@ namespace dlib
// We are probably in the "hard case". Use an eigenvalue decomposition to sort things out.
// Either that or the eps was just set too tight and really we are already done.
eigenvalue_decomposition<EXP1> ed(BB);
eigenvalue_decomposition<EXP1> ed(make_symmetric(BB));
matrix<T,NR,NC,MM,L> ev = ed.get_real_eigenvalues();
const long min_eig_idx = index_of_min(ev);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment