Commit c9ccf3b5 authored by Vadim Pisarevsky's avatar Vadim Pisarevsky

Merge pull request #5346 from art-programmer:art-programmer-patch-1

parents 706828a6 e0ef2936
...@@ -379,7 +379,7 @@ public: ...@@ -379,7 +379,7 @@ public:
} }
else if(covMatType == COV_MAT_DIAGONAL) else if(covMatType == COV_MAT_DIAGONAL)
{ {
covsEigenValues[clusterIndex] = svd.w; covsEigenValues[clusterIndex] = covs[clusterIndex].diag().clone(); //Preserve the original order of eigen values.
} }
else //COV_MAT_GENERIC else //COV_MAT_GENERIC
{ {
......
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