Merge pull request #10435 from DabatoIsCool:master

pull/10445/head
Alexander Alekhin 7 years ago committed by GitHub
commit 73c2a12449
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 1
      modules/core/src/pca.cpp

@ -239,6 +239,7 @@ PCA& PCA::operator()(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