提交 2324674d 编写于 作者: A Alexander Alekhin

core(test): update eps in testEigen<float>: 1e-6 => 1e-4

上级 53b5afbb
......@@ -419,7 +419,7 @@ static void testEigen(const Mat_<T>& src, const Mat_<T>& expected_eigenvalues, b
SCOPED_TRACE(runSymmetric ? "cv::eigen" : "cv::eigenNonSymmetric");
int type = traits::Type<T>::value;
const T eps = 1e-6f;
const T eps = src.type() == CV_32F ? 1e-4f : 1e-6f;
Mat eigenvalues, eigenvectors, eigenvalues0;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册