removed many extra whitespaces; fixed 1 warning

This commit is contained in:
Vadim Pisarevsky 2014-08-03 03:08:25 +04:00
parent 28ca6ac05e
commit 2520e335d1
17 changed files with 79 additions and 81 deletions

View File

@ -101,4 +101,3 @@ Returns the variable importance array.
.. ocv:function:: Mat RTrees::getVarImportance() const
The method returns the variable importance vector, computed at the training stage when ``RTParams::calcVarImportance`` is set to true. If this flag was set to false, the empty matrix is returned.

View File

@ -750,7 +750,7 @@ public:
void setTrainTestSplit(int count, bool shuffle)
{
int i, nsamples = getNSamples();
CV_Assert( 0 <= count < nsamples );
CV_Assert( 0 <= count && count < nsamples );
trainSampleIdx.release();
testSampleIdx.release();

View File

@ -1363,4 +1363,3 @@ float CvGBTrees::predict( const cv::Mat& sample, const cv::Mat& _missing,
}
#endif