diff --git a/Code/BasicFilters/otbVectorImageToMatrixImageFilter.h b/Code/BasicFilters/otbVectorImageToMatrixImageFilter.h index ae0a41aae1cf250521419820964ff8f395739d21..87ee6f5e4c28db71862768d9aeb4151bc286f931 100644 --- a/Code/BasicFilters/otbVectorImageToMatrixImageFilter.h +++ b/Code/BasicFilters/otbVectorImageToMatrixImageFilter.h @@ -81,7 +81,8 @@ public: itkStaticConstMacro(ImageDimension, unsigned int, TInputImage::ImageDimension); /** Type to use for computations. */ - typedef typename itk::NumericTraits<InternalPixelType>::RealType RealType; + //typedef typename itk::NumericTraits<InternalPixelType>::RealType RealType; + typedef InternalPixelType RealType; typedef itk::VariableLengthVector<RealType> RealPixelType; /** Smart Pointer type to a DataObject. */