From 3f6d50c96347cf99676a8967fd43bce06648fbbb Mon Sep 17 00:00:00 2001
From: Cedric <cedric.traizet@c-s.fr>
Date: Fri, 11 Jan 2019 13:45:02 +0100
Subject: [PATCH] ENH: added ram parameter to the application

---
 .../AppHyperspectral/app/otbEndmemberNumberEstimation.cxx       | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/Modules/Applications/AppHyperspectral/app/otbEndmemberNumberEstimation.cxx b/Modules/Applications/AppHyperspectral/app/otbEndmemberNumberEstimation.cxx
index 562812a4e8..6b5781f77c 100644
--- a/Modules/Applications/AppHyperspectral/app/otbEndmemberNumberEstimation.cxx
+++ b/Modules/Applications/AppHyperspectral/app/otbEndmemberNumberEstimation.cxx
@@ -106,6 +106,8 @@ private:
     SetParameterDescription("number", "Estimated number of endmembers");
     SetParameterRole("number", Role_Output);
 
+    AddRAMParameter();
+    
     // Doc example parameter settings
     SetDocExampleParameterValue("in", "cupriteSubHsi.tif");
     SetDocExampleParameterValue("algo", "vd");
-- 
GitLab