Changed tabulation.

This commit is contained in:
Leonid Beynenson 2011-08-10 14:21:20 +00:00
parent 92afe9e40a
commit aa78754720

View File

@ -371,7 +371,7 @@ inline int predictCategoricalStump( CascadeClassifier& cascade, Ptr<FeatureEvalu
CascadeClassifier::Data::Stage& stage = cascadeStages[si]; CascadeClassifier::Data::Stage& stage = cascadeStages[si];
int wi, ntrees = stage.ntrees; int wi, ntrees = stage.ntrees;
#ifdef HAVE_TEGRA_OPTIMIZATION #ifdef HAVE_TEGRA_OPTIMIZATION
tmp = 0; tmp = 0;
#else #else
sum = 0; sum = 0;
#endif #endif
@ -391,9 +391,9 @@ inline int predictCategoricalStump( CascadeClassifier& cascade, Ptr<FeatureEvalu
} }
#ifdef HAVE_TEGRA_OPTIMIZATION #ifdef HAVE_TEGRA_OPTIMIZATION
if( tmp < stage.threshold ) { if( tmp < stage.threshold ) {
sum = (double)tmp; sum = (double)tmp;
return -si; return -si;
} }
#else #else
if( sum < stage.threshold ) if( sum < stage.threshold )
return -si; return -si;