Commit 012625d5 authored by Maria Dimashova's avatar Maria Dimashova

excluded calonder test if CV_SSE2==0

parent 4aee2e30
......@@ -117,7 +117,7 @@ void CV_CalonderTest::run(int)
ts->set_failed_test_info( CvTS::FAIL_INVALID_TEST_DATA );
return;
}
#endif
#endif //GET_RES
CalonderDescriptorExtractor<float> fde(dir + "/classifier.rtc");
......@@ -136,7 +136,7 @@ void CV_CalonderTest::run(int)
ts->printf(CvTS::LOG, "nofm (inf) BTW valid and calculated float descriptors = %f\n", fnorm );
if( fnorm > FLT_EPSILON )
ts->set_failed_test_info( CvTS::FAIL_BAD_ACCURACY );
#endif
#endif // GET_RES
CalonderDescriptorExtractor<uchar> cde(dir + "/classifier.rtc");
Mat cdescriptors;
......@@ -154,7 +154,9 @@ void CV_CalonderTest::run(int)
ts->printf(CvTS::LOG, "nofm (inf) BTW valid and calculated uchar descriptors = %f\n", cnorm );
if( cnorm > FLT_EPSILON )
ts->set_failed_test_info( CvTS::FAIL_BAD_ACCURACY );
#endif
#endif // GET_RES
}
#if CV_SSE2
CV_CalonderTest calonderTest;
#endif // CV_SSE2
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment