From a6e173f6ddd9b2fbf5447b172f13491d69683eac Mon Sep 17 00:00:00 2001
From: Berenger Bramas <Berenger.Bramas@inria.fr>
Date: Wed, 27 Jan 2016 14:55:14 +0100
Subject: [PATCH] update the fenv class to considere 1 as true for bool

---
 Src/Utils/FEnv.hpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Src/Utils/FEnv.hpp b/Src/Utils/FEnv.hpp
index cd3eaa0af..56b80958e 100644
--- a/Src/Utils/FEnv.hpp
+++ b/Src/Utils/FEnv.hpp
@@ -66,7 +66,7 @@ public:
         if(!value){
             return defaultValue;
         }
-        return (strcmp(value,"TRUE") == 0) || (strcmp(value,"true") == 0 || (strcmp(value,"1") == 0);
+        return (strcmp(value,"TRUE") == 0) || (strcmp(value,"true") == 0) || (strcmp(value,"1") == 0);
     }
 
     /**
-- 
GitLab