From e3494494c70f5f48d67feaf4fc566e3d7956c365 Mon Sep 17 00:00:00 2001
From: Remi Cresson <remi.cresson@irstea.fr>
Date: Sat, 26 Oct 2019 18:36:30 +0200
Subject: [PATCH] ENH: new sample selection/extraction strategy (use nodata in
 selection or extraction)

---
 app/otbPatchesSelection.cxx | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app/otbPatchesSelection.cxx b/app/otbPatchesSelection.cxx
index 3154b8b..8cde71d 100644
--- a/app/otbPatchesSelection.cxx
+++ b/app/otbPatchesSelection.cxx
@@ -249,7 +249,7 @@ public:
     m_StreamingManager->SetAvailableRAMInMB(GetParameterInt("ram"));
 
     UInt8ImageType::Pointer inputImage;
-    if (GetParameterInt("nockeck")==1)
+    if (GetParameterInt("nocheck")==1)
       inputImage = GetParameterUInt8Image("mask");
     else
       inputImage = m_MorphoFilter->GetOutput();
-- 
GitLab