Commit 20c5a878 authored by Andrey Kamaev's avatar Andrey Kamaev

Weaken acceptance criteria in phase test

parent 47963f00
...@@ -2430,8 +2430,8 @@ protected: ...@@ -2430,8 +2430,8 @@ protected:
} }
Mat convertedRes = resInRad * 180. / CV_PI; Mat convertedRes = resInRad * 180. / CV_PI;
double normDiff = norm(convertedRes - resInDeg); double normDiff = norm(convertedRes - resInDeg, NORM_INF);
if(normDiff > FLT_EPSILON) if(normDiff > FLT_EPSILON * 180.)
{ {
ts->printf(cvtest::TS::LOG, "There are incorrect result angles (in radians)\n"); ts->printf(cvtest::TS::LOG, "There are incorrect result angles (in radians)\n");
ts->set_failed_test_info(cvtest::TS::FAIL_INVALID_OUTPUT); ts->set_failed_test_info(cvtest::TS::FAIL_INVALID_OUTPUT);
......
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