Skip to content
Snippets Groups Projects
Commit 2f8f7d19 authored by Rashad Kanavath's avatar Rashad Kanavath
Browse files

WRG: fix maybe-uninitialized. approaching zero warning dashboard

parent 92fb7640
No related branches found
No related tags found
No related merge requests found
...@@ -22,11 +22,12 @@ ...@@ -22,11 +22,12 @@
int otbBSplinesInterpolateDisplacementFieldGeneratorNew(int itkNotUsed(argc), char * itkNotUsed(argv) []) int otbBSplinesInterpolateDisplacementFieldGeneratorNew(int itkNotUsed(argc), char * itkNotUsed(argv) [])
{ {
const unsigned int Dimension = 2; const unsigned int Dimension = 3;
typedef double PixelType; typedef double PixelType;
typedef otb::VectorImage<PixelType, Dimension> ImageType; typedef otb::VectorImage<PixelType, 2> ImageType;
typedef ImageType::PointType PointType; typedef itk::FixedArray<double, Dimension> PointType;
typedef itk::PointSet<PointType, Dimension> PointSetType; typedef itk::PointSet<PointType, Dimension> PointSetType;
typedef otb::BSplinesInterpolateDisplacementFieldGenerator<PointSetType, ImageType> FilterType; typedef otb::BSplinesInterpolateDisplacementFieldGenerator<PointSetType, ImageType> FilterType;
// Instantiating object // Instantiating object
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment