From 8a93e513dbf72f7b9c1141648e61e1c94eca8f90 Mon Sep 17 00:00:00 2001
From: Guillaume Pasero <guillaume.pasero@c-s.fr>
Date: Thu, 16 Aug 2018 11:55:30 +0200
Subject: [PATCH] BUG: #1586: document that KMeans doesn't support NaN

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

diff --git a/Modules/Applications/AppClassification/app/otbKMeansClassification.cxx b/Modules/Applications/AppClassification/app/otbKMeansClassification.cxx
index 193a93eb09..2c0a7d65a7 100644
--- a/Modules/Applications/AppClassification/app/otbKMeansClassification.cxx
+++ b/Modules/Applications/AppClassification/app/otbKMeansClassification.cxx
@@ -424,7 +424,7 @@ private:
         "initialize cleanup parameter.\n"
         "For more information on shark KMeans algorithm [1].");
 
-    SetDocLimitations("None");
+    SetDocLimitations("The application doesn't support NaN in the input image");
     SetDocAuthors("OTB-Team");
     SetDocSeeAlso("ImageEnveloppe PolygonClassStatistics SampleSelection SamplesExtraction "
       "PolygonClassStatistics TrainVectorClassifier ImageClassifier\n"
-- 
GitLab