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

@@ -174,10 +174,10 @@ public:
for( pidx = node->parent; pidx >= 0 && nodes[pidx].right == nidx;
nidx = pidx, pidx = nodes[pidx].parent )
;
if( pidx < 0 )
break;
nidx = nodes[pidx].right;
}
}
@@ -340,7 +340,7 @@ public:
}
printf("%d trees. C=%.2f, training error=%.1f%%, working set size=%d (out of %d)\n", (int)roots.size(), C, err*100./n, (int)sidx.size(), n);
}*/
// renormalize weights
if( sumw > FLT_EPSILON )
normalizeWeights();
@@ -453,14 +453,14 @@ public:
FileNode trees_node = fn["trees"];
FileNodeIterator it = trees_node.begin();
CV_Assert( ntrees == (int)trees_node.size() );
for( int treeidx = 0; treeidx < ntrees; treeidx++, ++it )
{
FileNode nfn = (*it)["nodes"];
readTree(nfn);
}
}
Boost::Params bparams;
vector<double> sumResult;
};