diff --git a/modules/core/test/test_eigen.cpp b/modules/core/test/test_eigen.cpp index 075d84fbb8..ba00591f11 100644 --- a/modules/core/test/test_eigen.cpp +++ b/modules/core/test/test_eigen.cpp @@ -419,7 +419,7 @@ static void testEigen(const Mat_& src, const Mat_& expected_eigenvalues, b SCOPED_TRACE(runSymmetric ? "cv::eigen" : "cv::eigenNonSymmetric"); int type = traits::Type::value; - const T eps = 1e-6f; + const T eps = src.type() == CV_32F ? 1e-4f : 1e-6f; Mat eigenvalues, eigenvectors, eigenvalues0;