提交 a99799ca 编写于 作者: A Andrey Kamaev 提交者: OpenCV Buildbot

Merge pull request #286 from taka-no-me:tweak_phase_test_threshold

......@@ -2430,8 +2430,8 @@ protected:
}
Mat convertedRes = resInRad * 180. / CV_PI;
double normDiff = norm(convertedRes - resInDeg);
if(normDiff > FLT_EPSILON)
double normDiff = norm(convertedRes - resInDeg, NORM_INF);
if(normDiff > FLT_EPSILON * 180.)
{
ts->printf(cvtest::TS::LOG, "There are incorrect result angles (in radians)\n");
ts->set_failed_test_info(cvtest::TS::FAIL_INVALID_OUTPUT);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册