Commit 009516c1 authored by Rashad Kanavath's avatar Rashad Kanavath

WRG: fix conversion from size_t -> unsigned int with ::size_type

parent bfb567d1
......@@ -181,7 +181,8 @@ public:
typedef AtmosphericRadiativeTermsSingleChannel::Pointer ValueType;
typedef std::vector<ValueType> VectorValueType;
typedef std::vector<double> DataVectorType;
typedef std::vector<double> DataVectorType;
typedef DataVectorType::size_type DataVectorSizeType;
/**
* Set/Get the values.
*/
......@@ -255,7 +256,7 @@ public:
const ValueType GetValueByIndex(unsigned int id) const;
/** Initialization method.*/
void ValuesInitialization(unsigned int nbChannel);
void ValuesInitialization(DataVectorSizeType nbChannel);
protected:
/** Constructor */
......
......@@ -64,9 +64,9 @@ AtmosphericRadiativeTerms
void
AtmosphericRadiativeTerms
::ValuesInitialization(unsigned int nbChannel)
::ValuesInitialization(DataVectorSizeType nbChannel)
{
for (unsigned int j = 0; j < nbChannel; ++j)
for (DataVectorSizeType j = 0; j < nbChannel; ++j)
{
ValueType temp = AtmosphericRadiativeTermsSingleChannel::New();
m_Values.push_back(temp);
......
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