mirror of
https://gitlab.com/libeigen/eigen.git
synced 2024-12-21 07:19:46 +08:00
Fix shadow warnings in AlignedBox and SparseBlock
This commit is contained in:
parent
ea51a9eace
commit
82a47338df
@ -254,12 +254,6 @@ enum AlignmentType {
|
|||||||
#endif
|
#endif
|
||||||
};
|
};
|
||||||
|
|
||||||
/** \ingroup enums
|
|
||||||
* Enum used by DenseBase::corner() in Eigen2 compatibility mode. */
|
|
||||||
// FIXME after the corner() API change, this was not needed anymore, except by AlignedBox
|
|
||||||
// TODO: find out what to do with that. Adapt the AlignedBox API ?
|
|
||||||
enum CornerType { TopLeft, TopRight, BottomLeft, BottomRight };
|
|
||||||
|
|
||||||
/** \ingroup enums
|
/** \ingroup enums
|
||||||
* Enum containing possible values for the \p Direction parameter of
|
* Enum containing possible values for the \p Direction parameter of
|
||||||
* Reverse, PartialReduxExpr and VectorwiseOp. */
|
* Reverse, PartialReduxExpr and VectorwiseOp. */
|
||||||
|
@ -463,7 +463,6 @@ template<typename ArgType, int BlockRows, int BlockCols, bool InnerPanel>
|
|||||||
class unary_evaluator<Block<ArgType,BlockRows,BlockCols,InnerPanel>, IteratorBased>::InnerVectorInnerIterator
|
class unary_evaluator<Block<ArgType,BlockRows,BlockCols,InnerPanel>, IteratorBased>::InnerVectorInnerIterator
|
||||||
: public EvalIterator
|
: public EvalIterator
|
||||||
{
|
{
|
||||||
enum { IsRowMajor = unary_evaluator::IsRowMajor };
|
|
||||||
const XprType& m_block;
|
const XprType& m_block;
|
||||||
Index m_end;
|
Index m_end;
|
||||||
public:
|
public:
|
||||||
@ -488,7 +487,6 @@ public:
|
|||||||
template<typename ArgType, int BlockRows, int BlockCols, bool InnerPanel>
|
template<typename ArgType, int BlockRows, int BlockCols, bool InnerPanel>
|
||||||
class unary_evaluator<Block<ArgType,BlockRows,BlockCols,InnerPanel>, IteratorBased>::OuterVectorInnerIterator
|
class unary_evaluator<Block<ArgType,BlockRows,BlockCols,InnerPanel>, IteratorBased>::OuterVectorInnerIterator
|
||||||
{
|
{
|
||||||
enum { IsRowMajor = unary_evaluator::IsRowMajor };
|
|
||||||
const unary_evaluator& m_eval;
|
const unary_evaluator& m_eval;
|
||||||
Index m_outerPos;
|
Index m_outerPos;
|
||||||
const Index m_innerIndex;
|
const Index m_innerIndex;
|
||||||
|
Loading…
Reference in New Issue
Block a user