Merge pull request #5346 from art-programmer:art-programmer-patch-1
This commit is contained in:
commit
c9ccf3b55d
@ -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
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user