From 5fe7173f8c2d503181c28dd18ceb7307cdff7f79 Mon Sep 17 00:00:00 2001
From: Cyrille Valladeau <cyrille.valladeau@c-s.fr>
Date: Tue, 26 May 2009 14:07:34 +0200
Subject: [PATCH] ENH : add 10e-5 tolerance in SVMAccessorTest

---
 Testing/Code/Learning/CMakeLists.txt | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/Testing/Code/Learning/CMakeLists.txt b/Testing/Code/Learning/CMakeLists.txt
index 27edb3d0d1..6d19521d14 100644
--- a/Testing/Code/Learning/CMakeLists.txt
+++ b/Testing/Code/Learning/CMakeLists.txt
@@ -14,6 +14,7 @@ SET(TOL 0.0)
 SET(EPSILON 0.0000000001)
 SET(EPSILON_10e3 0.001)
 SET(EPSILON_10e4 0.0001)
+SET(EPSILON_10e5 0.00001)
 
 
 SET(LEARNING_TESTS1 ${CXX_TEST_PATH}/otbLearningTests1)
@@ -37,7 +38,7 @@ ADD_TEST(leTuSVMModelLoad ${LEARNING_TESTS1}
 	${INPUTDATA}/svm_model)
 
 ADD_TEST(leTvSVMModelAccessor ${LEARNING_TESTS1}
---compare-ascii ${TOL}  ${BASELINE_FILES}/leSVMModelAccessor.txt
+--compare-ascii ${EPSILON_10e5}  ${BASELINE_FILES}/leSVMModelAccessor.txt
                         ${TEMP}/leSVMModelAccessor.txt
         otbSVMModelAccessor
 	${INPUTDATA}/svm_model
-- 
GitLab