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

This commit is contained in:
Vadim Pisarevsky 2015-09-21 12:06:46 +00:00
commit c9ccf3b55d

View File

@ -379,7 +379,7 @@ public:
}
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
{