pull/10435/head
Arthur Williams 7 years ago committed by GitHub
parent f3880c60a6
commit d8d4ea857a
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