fixed the condition

pull/3032/head
Vadim Pisarevsky 10 years ago
parent 79b593d8d8
commit 98a1181240
  1. 3
      modules/ml/src/tree.cpp

@ -359,9 +359,8 @@ int DTreesImpl::addTree(const vector<int>& sidx )
}
printf("\n");
}
#else
CV_Assert( w_nidx >= 0 );
#endif
CV_Assert( w_nidx >= 0 );
}
}
roots.push_back(root);

Loading…
Cancel
Save