fixed compile warnings from MSVC; fixed warnings in Python bindings; added some debugging code

This commit is contained in:
Vadim Pisarevsky
2014-08-03 12:46:28 +04:00
parent 9cb79b9abb
commit eeb786fcfd
10 changed files with 30 additions and 30 deletions

View File

@@ -90,7 +90,7 @@ public:
{
DTreesImpl::clear();
oobError = 0.;
rng = RNG(-1);
rng = RNG((uint64)-1);
}
const vector<int>& getActiveVars()
@@ -177,7 +177,6 @@ public:
for( treeidx = 0; treeidx < ntrees; treeidx++ )
{
putchar('.'); fflush(stdout);
for( i = 0; i < n; i++ )
oobmask[i] = (uchar)1;