backport #10435
pull/10443/head
Arthur Williams 7 years ago committed by Alexander Alekhin
parent 97eae6b546
commit 1f4b8c2785
  1. 1
      modules/core/src/matmul.cpp

@ -2994,6 +2994,7 @@ PCA& PCA::computeVar(InputArray _data, InputArray __mean, int flags, double reta
{
CV_Assert( _mean.size() == mean_sz );
_mean.convertTo(mean, ctype);
covar_flags |= CV_COVAR_USE_AVG;
}
calcCovarMatrix( data, covar, mean, covar_flags, ctype );

Loading…
Cancel
Save