diff options
author | Diego Biurrun <diego@biurrun.de> | 2009-01-28 00:16:05 +0000 |
---|---|---|
committer | Diego Biurrun <diego@biurrun.de> | 2009-01-28 00:16:05 +0000 |
commit | 89c9ff504b29d03cf266aa3598ccb8d2cf1ddd13 (patch) | |
tree | 340147cb9f4382a838ae971bf991c2f42482077c /libavutil/pca.c | |
parent | d972e56cf21e9fa12922704da276d26111b5dbc1 (diff) | |
download | ffmpeg-89c9ff504b29d03cf266aa3598ccb8d2cf1ddd13.tar.gz |
spelling/grammar/consistency review part I
Originally committed as revision 16840 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavutil/pca.c')
-rw-r--r-- | libavutil/pca.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libavutil/pca.c b/libavutil/pca.c index 76966f0c7d..4cdd3c6577 100644 --- a/libavutil/pca.c +++ b/libavutil/pca.c @@ -1,5 +1,5 @@ /* - * Principal component analysis + * principal component analysis (PCA) * Copyright (c) 2004 Michael Niedermayer <michaelni@gmx.at> * * This file is part of FFmpeg. @@ -21,7 +21,7 @@ /** * @file pca.c - * Principal component analysis + * principal component analysis (PCA) */ #include "common.h" @@ -120,7 +120,7 @@ int ff_pca(PCA *pca, double *eigenvector, double *eigenvalue){ if(pass < 3 && fabs(covar) < sum / (5*n*n)) //FIXME why pass < 3 continue; - if(fabs(covar) == 0.0) //FIXME shouldnt be needed + if(fabs(covar) == 0.0) //FIXME should not be needed continue; if(pass >=3 && fabs((eigenvalue[j]+z[j])/covar) > (1LL<<32) && fabs((eigenvalue[i]+z[i])/covar) > (1LL<<32)){ pca->covariance[j + i*n]=0.0; |