diff --git a/Eigen/src/Core/Block.h b/Eigen/src/Core/Block.h index 5fffdcb01..f9bbf473d 100644 --- a/Eigen/src/Core/Block.h +++ b/Eigen/src/Core/Block.h @@ -228,7 +228,7 @@ class Block class InnerIterator; typedef typename ei_traits::AlignedDerivedType AlignedDerivedType; - friend class Block; + friend class Block; EIGEN_INHERIT_ASSIGNMENT_OPERATORS(Block) diff --git a/Eigen/src/Core/util/XprHelper.h b/Eigen/src/Core/util/XprHelper.h index 659b3d7d1..5f3b6286c 100644 --- a/Eigen/src/Core/util/XprHelper.h +++ b/Eigen/src/Core/util/XprHelper.h @@ -192,7 +192,7 @@ struct ei_ref_selector * to the user. **/ template -struct ei_ref_selector< Matrix<_Scalar, _Rows, _Cols, _Options, _MaxRows, _MaxCols> > +struct ei_ref_selector< Matrix<_Scalar, _Rows, _Cols, _Options, _MaxRows, _MaxCols> > { typedef Matrix<_Scalar, _Rows, _Cols, _Options, _MaxRows, _MaxCols> MatrixType; typedef MatrixType const& type; @@ -224,7 +224,7 @@ template::ty }; typedef typename ei_meta_if< - ( int(ei_traits::Flags) & EvalBeforeNestingBit ) || + ( int(ei_traits::Flags) & EvalBeforeNestingBit ) || ( int(CostEval) <= int(CostNoEval) ), PlainMatrixType, typename ei_ref_selector::type diff --git a/Eigen/src/Geometry/Hyperplane.h b/Eigen/src/Geometry/Hyperplane.h index 49a9ac7bb..aab3d5b35 100644 --- a/Eigen/src/Geometry/Hyperplane.h +++ b/Eigen/src/Geometry/Hyperplane.h @@ -52,9 +52,9 @@ public: typedef _Scalar Scalar; typedef typename NumTraits::Real RealScalar; typedef Matrix VectorType; - typedef Matrix Coefficients; + : int(AmbientDimAtCompileTime)+1,1> Coefficients; typedef Block NormalReturnType; /** Default constructor without initialization */