minor fixes
authorMaria Dimashova <no@email>
Wed, 13 Oct 2010 16:16:40 +0000 (16:16 +0000)
committerMaria Dimashova <no@email>
Wed, 13 Oct 2010 16:16:40 +0000 (16:16 +0000)
modules/ml/src/boost.cpp
modules/ml/src/data.cpp

index 076d0c4..2cf9b7e 100644 (file)
@@ -1894,7 +1894,7 @@ float CvBoost::calc_error( CvMLData* _data, int type, std::vector<float> *resp )
 
 void CvBoost::write_params( CvFileStorage* fs ) const
 {
-    //CV_FUNCNAME( "CvBoost::write_params" );
+    CV_FUNCNAME( "CvBoost::write_params" );
 
     __BEGIN__;
 
@@ -1995,7 +1995,7 @@ void CvBoost::read_params( CvFileStorage* fs, CvFileNode* fnode )
 void
 CvBoost::read( CvFileStorage* fs, CvFileNode* node )
 {
-    CV_FUNCNAME( "CvRTrees::read" );
+    CV_FUNCNAME( "CvBoost::read" );
 
     __BEGIN__;
 
index c6f607a..32e8345 100644 (file)
@@ -141,7 +141,7 @@ static char *fgets_chomp(char *str, int n, FILE *stream)
 
 int CvMLData :: read_csv(const char* filename)
 {
-    const int M = 10000;
+    const int M = 50000;
     const char str_delimiter[3] = { ' ', delimiter, '\0' };
     FILE* file = 0;
     CvMemStorage* storage;