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
No related merge requests found
Showing with 6 additions and 7 deletions
+6 -7
...@@ -93,7 +93,7 @@ public: ...@@ -93,7 +93,7 @@ public:
inline unsigned int GetOutputSize() const { return nbOfYears; } 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; return nbOfYears;
} }
...@@ -369,7 +369,7 @@ public: ...@@ -369,7 +369,7 @@ public:
static constexpr std::size_t outputPixelSize{1}; 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; return numberOfComponentsPerPixel;
} }
...@@ -523,7 +523,7 @@ public: ...@@ -523,7 +523,7 @@ public:
static constexpr std::size_t outputPixelSize{1}; 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; return numberOfComponentsPerPixel;
} }
...@@ -609,7 +609,7 @@ public: ...@@ -609,7 +609,7 @@ public:
} }
~RainfallEstimatedNDVIResiduesFunctor(){} ~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; unsigned int nbComp = std::accumulate(Inputs.begin(),Inputs.end(),0)/2;
return nbComp; return nbComp;
...@@ -800,7 +800,7 @@ public: ...@@ -800,7 +800,7 @@ public:
static constexpr std::size_t outputPixelSize{1}; 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; return numberOfComponentsPerPixel;
} }
...@@ -925,7 +925,7 @@ public: ...@@ -925,7 +925,7 @@ public:
static constexpr std::size_t outputPixelSize{1}; 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; return numberOfComponentsPerPixel;
} }
......
...@@ -6,7 +6,6 @@ otb_module(NDVITimeSeries ...@@ -6,7 +6,6 @@ otb_module(NDVITimeSeries
OTBCommon OTBCommon
OTBApplicationEngine OTBApplicationEngine
TimeSeriesUtils TimeSeriesUtils
OTBTemporalGapFilling
LSGRM LSGRM
TEST_DEPENDS TEST_DEPENDS
......
Supports Markdown
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