hopefully fixed test failure on Linux

This commit is contained in:
Vadim Pisarevsky
2014-08-04 01:16:45 +04:00
parent 24b01a8e4f
commit 222f8a3d5e
3 changed files with 7 additions and 30 deletions

View File

@@ -220,7 +220,6 @@ public:
void updateWeightsAndTrim( int treeidx, vector<int>& sidx )
{
putchar('<');
int i, n = (int)w->sidx.size();
int nvars = (int)varIdx.size();
double sumw = 0., C = 1.;
@@ -374,7 +373,6 @@ public:
if( w->sample_weights[si] >= threshold )
sidx.push_back(si);
}
putchar('>'); fflush(stdout);
}
float predictTrees( const Range& range, const Mat& sample, int flags0 ) const