From 0b88840f64e405bec753283acbe3bc01f4d0aecf Mon Sep 17 00:00:00 2001 From: Davis King Date: Thu, 27 Dec 2012 16:23:54 -0500 Subject: [PATCH] relaxed test a little --- dlib/test/svm_c_linear_dcd.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dlib/test/svm_c_linear_dcd.cpp b/dlib/test/svm_c_linear_dcd.cpp index 1e5f526bc..1af14679d 100644 --- a/dlib/test/svm_c_linear_dcd.cpp +++ b/dlib/test/svm_c_linear_dcd.cpp @@ -314,7 +314,7 @@ namespace rs.add(labels[k]*df(samples[k])); } } - DLIB_TEST_MSG(std::abs(rs.min()-1) < 1e-8, std::abs(rs.min()-1)); + DLIB_TEST_MSG(std::abs(rs.min()-1) < 1e-7, std::abs(rs.min()-1)); } // ----------------------------------------------------------------------------------------