From: Vadim Pisarevsky Date: Thu, 21 Oct 2010 15:51:23 +0000 (+0000) Subject: two small fixes in the recently added stuff X-Git-Tag: accepted/tizen/6.0/unified/20201030.111113~8545 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=b80bdf324d6f6d54eea4cb95331fb45ccf01a878;p=platform%2Fupstream%2Fopencv.git two small fixes in the recently added stuff --- diff --git a/tests/cxts/cxts.cpp b/tests/cxts/cxts.cpp index 5c6e3c5..e411080 100644 --- a/tests/cxts/cxts.cpp +++ b/tests/cxts/cxts.cpp @@ -1370,7 +1370,7 @@ int CvTS::run( int argc, char** argv, const char** blacklist ) if( datapath_dir ) { sprintf( buf, "%s/%s", datapath_dir, module_name ? module_name : "" ); - printf( LOG + CONSOLE + SUMMARY, "Data Path = %s\n", buf); + printf( LOG + SUMMARY, "Data Path = %s\n", buf); set_data_path(buf); } } @@ -1949,8 +1949,9 @@ int CvTS::filter( CvTest* test, int& filter_state, const char** blacklist ) filter_state = 1; return inverse; } - if( greater_or_equal == 2 ) + else { + assert(filter_state == 2); filter_state = 1; return inverse ^ 1; }