Commit f6fbaba9 authored by Gaetano Raffaele's avatar Gaetano Raffaele
Browse files

Changed several long unsigned int into size_t; Updated otb-module.cmake

parent 91f03ef0
......@@ -93,7 +93,7 @@ public:
inline unsigned int GetOutputSize() const { return nbOfYears; }
constexpr std::size_t OutputSize(std::array<long unsigned int, 1ul>&) const
constexpr std::size_t OutputSize(std::array<size_t, 1ul>&) const
{
return nbOfYears;
}
......@@ -369,7 +369,7 @@ public:
static constexpr std::size_t outputPixelSize{1};
std::size_t OutputSize(std::array<long unsigned int, 1ul>&) const
std::size_t OutputSize(std::array<size_t, 1ul>&) const
{
return numberOfComponentsPerPixel;
}
......@@ -523,7 +523,7 @@ public:
static constexpr std::size_t outputPixelSize{1};
std::size_t OutputSize(std::array<long unsigned int, 1ul>&) const
std::size_t OutputSize(std::array<size_t, 1ul>&) const
{
return numberOfComponentsPerPixel;
}
......@@ -609,7 +609,7 @@ public:
}
~RainfallEstimatedNDVIResiduesFunctor(){}
std::size_t OutputSize(std::array<long unsigned int, 2ul> Inputs) const
std::size_t OutputSize(std::array<size_t, 2ul> Inputs) const
{
unsigned int nbComp = std::accumulate(Inputs.begin(),Inputs.end(),0)/2;
return nbComp;
......@@ -800,7 +800,7 @@ public:
static constexpr std::size_t outputPixelSize{1};
std::size_t OutputSize(std::array<long unsigned int, 3ul>&) const
std::size_t OutputSize(std::array<size_t, 3ul>&) const
{
return numberOfComponentsPerPixel;
}
......@@ -925,7 +925,7 @@ public:
static constexpr std::size_t outputPixelSize{1};
std::size_t OutputSize(std::array<long unsigned int, 2ul>&) const
std::size_t OutputSize(std::array<size_t, 2ul>&) const
{
return numberOfComponentsPerPixel;
}
......
......@@ -6,7 +6,6 @@ otb_module(NDVITimeSeries
OTBCommon
OTBApplicationEngine
TimeSeriesUtils
OTBTemporalGapFilling
LSGRM
TEST_DEPENDS
......
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