removed kdtree declaration from interface

This commit is contained in:
Dmitriy Anisimov
2014-08-31 21:39:47 +04:00
parent 9ddb23e025
commit 5f3ee657ce
6 changed files with 104 additions and 169 deletions

View File

@@ -338,6 +338,11 @@ void CV_KNearestTest::run( int /*start_from*/ )
ts->printf( cvtest::TS::LOG, "Bad output labels.\n" );
code = cvtest::TS::FAIL_INVALID_OUTPUT;
}
else if( err > 0.01f )
{
ts->printf( cvtest::TS::LOG, "Bad accuracy (%f) on test data.\n", err );
code = cvtest::TS::FAIL_BAD_ACCURACY;
}
ts->set_failed_test_info( code );
}