diff --git a/modules/ml/src/tree.cpp b/modules/ml/src/tree.cpp index 5113348b0..a75f4bab7 100644 --- a/modules/ml/src/tree.cpp +++ b/modules/ml/src/tree.cpp @@ -359,9 +359,8 @@ int DTreesImpl::addTree(const vector& sidx ) } printf("\n"); } -#else - CV_Assert( w_nidx >= 0 ); #endif + CV_Assert( w_nidx >= 0 ); } } roots.push_back(root);