Commit 0c06fb57 authored by Davis King's avatar Davis King

Added a make_symmetric() statement so that the most efficient eigenvalue_decomposition

method is used.

--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403828
parent bfe88d64
......@@ -265,7 +265,7 @@ namespace dlib
cov += between_weight*between_cov/between_count;
eigenvalue_decomposition<general_matrix> eig(cov);
eigenvalue_decomposition<general_matrix> eig(make_symmetric(cov));
eigenvalues = eig.get_real_eigenvalues();
dpca_mat = eig.get_pseudo_v();
......
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