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

pull/9804/head
Alexander Alekhin 7 years ago
parent 53b5afbba9
commit 2324674dfb
  1. 2
      modules/core/test/test_eigen.cpp

@ -419,7 +419,7 @@ static void testEigen(const Mat_<T>& src, const Mat_<T>& expected_eigenvalues, b
SCOPED_TRACE(runSymmetric ? "cv::eigen" : "cv::eigenNonSymmetric"); SCOPED_TRACE(runSymmetric ? "cv::eigen" : "cv::eigenNonSymmetric");
int type = traits::Type<T>::value; 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; Mat eigenvalues, eigenvectors, eigenvalues0;

Loading…
Cancel
Save