1
0
mirror of https://github.com/opencv/opencv.git synced 2026-07-31 00:03:03 +04:00

fixed problem with surrogate splits in decision trees training

This commit is contained in:
Maria Dimashova
2010-09-22 06:55:51 +00:00
parent 2f3f677ffe
commit 0c771221a3
2 changed files with 5 additions and 4 deletions
+1 -1
View File
@@ -418,8 +418,8 @@ void CvERTreeTrainData::set_data( const CvMat* _train_data, int _tflag,
"variable (=%g) is too large", i, vi, val );
CV_ERROR( CV_StsBadArg, err );
}
num_valid++;
}
num_valid++;
}
}
if( vi < var_count )