From 35658928d355028d0f206ac857cbb8823769d6c7 Mon Sep 17 00:00:00 2001
From: Antoine Regimbeau <antoine.regimbeau@c-s.fr>
Date: Fri, 25 May 2018 15:53:47 +0200
Subject: [PATCH] BUG: remove default value for min max

---
 .../Applications/AppFiltering/app/otbContrastEnhancement.cxx  | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/Modules/Applications/AppFiltering/app/otbContrastEnhancement.cxx b/Modules/Applications/AppFiltering/app/otbContrastEnhancement.cxx
index f29967abea..3e8300cadd 100644
--- a/Modules/Applications/AppFiltering/app/otbContrastEnhancement.cxx
+++ b/Modules/Applications/AppFiltering/app/otbContrastEnhancement.cxx
@@ -245,8 +245,8 @@ private:
       "set by the user");
     AddParameter(ParameterType_Float , "minmax.manual.min" , "Minimum value");
     AddParameter(ParameterType_Float , "minmax.manual.max" , "Maximum value");
-    SetDefaultParameterFloat("minmax.manual.min", 0 );
-    SetDefaultParameterFloat("minmax.manual.max", 255 );
+    // SetDefaultParameterFloat("minmax.manual.min", 0 );
+    // SetDefaultParameterFloat("minmax.manual.max", 255 );
     MandatoryOff("minmax.manual.min");
     MandatoryOff("minmax.manual.max");
 
-- 
GitLab