Commit 42e4962c authored by Otmane Lahlou's avatar Otmane Lahlou

ENH: make the minimum RAM allowed to 1 & cleaning

parent b8da02a5
......@@ -87,10 +87,9 @@ protected:
// Initialize the unsigned int NumericalParam
m_UnsignedIntParam = UnsignedIntParameter::New();
// Set a default value
//this->SetDefaultValue(256);
// the value of the RAM param is its default param
//this->SetValue(256);
// 0 RAM is not allowed, make the minimum to 1 by default
this->SetMinimumValue(1);
}
/** Destructor */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment