Skip to content

Commit 1f4b8c2

Browse files
arthur-williamsalalek
authored andcommitted
Fixed opencv#10433
backport opencv#10435
1 parent 97eae6b commit 1f4b8c2

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

modules/core/src/matmul.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2994,6 +2994,7 @@ PCA& PCA::computeVar(InputArray _data, InputArray __mean, int flags, double reta
29942994
{
29952995
CV_Assert( _mean.size() == mean_sz );
29962996
_mean.convertTo(mean, ctype);
2997+
covar_flags |= CV_COVAR_USE_AVG;
29972998
}
29982999

29993000
calcCovarMatrix( data, covar, mean, covar_flags, ctype );

0 commit comments

Comments
 (0)