diff options
author | Gael Guennebaud <g.gael@free.fr> | 2013-06-21 09:27:38 +0200 |
---|---|---|
committer | Gael Guennebaud <g.gael@free.fr> | 2013-06-21 09:27:38 +0200 |
commit | cf5c5ed72526101ea33dc9f34f7ad1375119603e (patch) | |
tree | 67cf46d300d6092620c4922a0769c6ae04e4203c /unsupported/Eigen/src/Splines | |
parent | 7adfca5af2bce896af375158b82d23f26f76d3f4 (diff) |
Fix warning typedef XXX locally defined but not used
Diffstat (limited to 'unsupported/Eigen/src/Splines')
-rw-r--r-- | unsupported/Eigen/src/Splines/Spline.h | 5 | ||||
-rw-r--r-- | unsupported/Eigen/src/Splines/SplineFitting.h | 3 |
2 files changed, 0 insertions, 8 deletions
diff --git a/unsupported/Eigen/src/Splines/Spline.h b/unsupported/Eigen/src/Splines/Spline.h index 1093dfe05..771f10432 100644 --- a/unsupported/Eigen/src/Splines/Spline.h +++ b/unsupported/Eigen/src/Splines/Spline.h @@ -295,11 +295,7 @@ namespace Eigen enum { Order = SplineTraits<SplineType>::OrderAtCompileTime }; enum { DerivativeOrder = DerivativeType::ColsAtCompileTime }; - typedef typename SplineTraits<SplineType>::Scalar Scalar; - - typedef typename SplineTraits<SplineType>::BasisVectorType BasisVectorType; typedef typename SplineTraits<SplineType>::ControlPointVectorType ControlPointVectorType; - typedef typename SplineTraits<SplineType,DerivativeOrder>::BasisDerivativeType BasisDerivativeType; typedef typename BasisDerivativeType::ConstRowXpr BasisDerivativeRowXpr; @@ -358,7 +354,6 @@ namespace Eigen typedef typename SplineTraits<SplineType>::Scalar Scalar; typedef typename SplineTraits<SplineType>::BasisVectorType BasisVectorType; typedef typename SplineTraits<SplineType>::KnotVectorType KnotVectorType; - typedef typename SplineTraits<SplineType>::ControlPointVectorType ControlPointVectorType; const KnotVectorType& U = spline.knots(); diff --git a/unsupported/Eigen/src/Splines/SplineFitting.h b/unsupported/Eigen/src/Splines/SplineFitting.h index 1b566332f..0265d532c 100644 --- a/unsupported/Eigen/src/Splines/SplineFitting.h +++ b/unsupported/Eigen/src/Splines/SplineFitting.h @@ -40,8 +40,6 @@ namespace Eigen template <typename KnotVectorType> void KnotAveraging(const KnotVectorType& parameters, DenseIndex degree, KnotVectorType& knots) { - typedef typename KnotVectorType::Scalar Scalar; - knots.resize(parameters.size()+degree+1); for (DenseIndex j=1; j<parameters.size()-degree; ++j) @@ -118,7 +116,6 @@ namespace Eigen SplineType SplineFitting<SplineType>::Interpolate(const PointArrayType& pts, DenseIndex degree, const KnotVectorType& knot_parameters) { typedef typename SplineType::KnotVectorType::Scalar Scalar; - typedef typename SplineType::BasisVectorType BasisVectorType; typedef typename SplineType::ControlPointVectorType ControlPointVectorType; typedef Matrix<Scalar,Dynamic,Dynamic> MatrixType; |