Commit 83b7fe1b authored by Roman Donchenko's avatar Roman Donchenko Committed by OpenCV Buildbot

Merge pull request #2748 from jet47:fix-bug-3690

parents 10f89b9c 7e2f7f45
......@@ -1434,8 +1434,6 @@ void CvDTreeTrainData::read_params( CvFileStorage* fs, CvFileNode* node )
var_type->data.i[var_count] = cat_var_count;
ord_var_count = ~ord_var_count;
if( cat_var_count != cat_var_count || ord_var_count != ord_var_count )
CV_ERROR( CV_StsParseError, "var_type is inconsistent with cat_var_count and ord_var_count" );
//////
if( cat_var_count > 0 || is_classifier )
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment