From 98a11812405971f667b0df01b4a94f5b52ca8af5 Mon Sep 17 00:00:00 2001 From: Vadim Pisarevsky Date: Sun, 3 Aug 2014 13:15:43 +0400 Subject: [PATCH] fixed the condition --- modules/ml/src/tree.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/modules/ml/src/tree.cpp b/modules/ml/src/tree.cpp index 5113348b00..a75f4bab79 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);