diff --git a/Code/Learning/otbConcatenateSampleListFilter.h b/Code/Learning/otbConcatenateSampleListFilter.h index bddc14b58d5dc91bf8fc3d49f8f1fc0360a9559a..0662686345a15271e210d9d7cf14440d067dc27b 100644 --- a/Code/Learning/otbConcatenateSampleListFilter.h +++ b/Code/Learning/otbConcatenateSampleListFilter.h @@ -37,7 +37,7 @@ class ITK_EXPORT ConcatenateSampleListFilter : { public: /** Standard class typedefs */ - typedef ConcatenateSampleListFilter Self; + typedef ConcatenateSampleListFilter Self; typedef otb::Statistics::ListSampleToListSampleFilter <TInputSampleList,TOutputSampleList> Superclass; typedef itk::SmartPointer< Self > Pointer; diff --git a/Code/Learning/otbConcatenateSampleListFilter.txx b/Code/Learning/otbConcatenateSampleListFilter.txx index dfa3590366972ecdb2fdbff39677ff617f38c8d6..f82a9e33ee3d2195fa0faf8fb066d1aac7691c2d 100644 --- a/Code/Learning/otbConcatenateSampleListFilter.txx +++ b/Code/Learning/otbConcatenateSampleListFilter.txx @@ -69,7 +69,7 @@ ConcatenateSampleListFilter<TInputSampleList,TOutputSampleList> // Retrieve the ListSample typename InputSampleListObjectType::ConstPointer inputPtr = static_cast<InputSampleListObjectType *>(Superclass::ProcessObject::GetInput(inputIndex)); - totalNumberOfSamples+=inputPtr->Get()->Size(); + totalNumberOfSamples += inputPtr->Get()->Size(); } // Set-up progress reporting