Commit 867005b2 authored by Julien Osman's avatar Julien Osman
Browse files

BUG: Fix compilation error on Windows

parent 2d83c057
Pipeline #5705 failed with stages
in 99 minutes and 53 seconds
......@@ -45,8 +45,8 @@ public:
using Pointer = itk::SmartPointer<Self>;
using ConstPointer = itk::SmartPointer<const Self> ;
using InputPointType = itk::Point<TScalarType, NInputDimensions>;
using OutputPointType = itk::Point<TScalarType, NOutputDimensions>;
typedef itk::Point<TScalarType, NInputDimensions> InputPointType;
typedef itk::Point<TScalarType, NOutputDimensions> OutputPointType;
using PixelType =TScalarType;
//@}
......
......@@ -45,8 +45,8 @@ public:
using Pointer = itk::SmartPointer<Self>;
using ConstPointer = itk::SmartPointer<const Self> ;
using InputPointType = itk::Point<TScalarType, NInputDimensions>;
using OutputPointType = itk::Point<TScalarType, NOutputDimensions>;
typedef itk::Point<TScalarType, NInputDimensions> InputPointType;
typedef itk::Point<TScalarType, NOutputDimensions> OutputPointType;
using PixelType =TScalarType;
//@}
......
......@@ -28,7 +28,7 @@ namespace otb
template <class TScalarType, unsigned int NInputDimensions, unsigned int NOutputDimensions>
typename RPCInverseTransform<TScalarType, NInputDimensions, NOutputDimensions>::OutputPointType
RPCInverseTransform<TScalarType, NInputDimensions, NOutputDimensions>::TransformPoint(const RPCInverseTransform<TScalarType, NInputDimensions, NOutputDimensions>::InputPointType& point) const
RPCInverseTransform<TScalarType, NInputDimensions, NOutputDimensions>::TransformPoint(const InputPointType& point) const
{
GDALRPCTransformer::PointType zePoint;
zePoint[0] = static_cast<double>(point[0]);
......
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