mirror of
https://gitlab.com/libeigen/eigen.git
synced 2026-04-10 11:34:33 +08:00
_MatrixTypeNested must be public in sparse Block
This commit is contained in:
@@ -350,12 +350,13 @@ template<typename XprType, int BlockRows, int BlockCols, bool InnerPanel>
|
|||||||
class BlockImpl<XprType,BlockRows,BlockCols,InnerPanel,Sparse>
|
class BlockImpl<XprType,BlockRows,BlockCols,InnerPanel,Sparse>
|
||||||
: public SparseMatrixBase<Block<XprType,BlockRows,BlockCols,InnerPanel> >, internal::no_assignment_operator
|
: public SparseMatrixBase<Block<XprType,BlockRows,BlockCols,InnerPanel> >, internal::no_assignment_operator
|
||||||
{
|
{
|
||||||
typedef typename internal::remove_all<typename XprType::Nested>::type _MatrixTypeNested;
|
|
||||||
typedef Block<XprType, BlockRows, BlockCols, InnerPanel> BlockType;
|
typedef Block<XprType, BlockRows, BlockCols, InnerPanel> BlockType;
|
||||||
public:
|
public:
|
||||||
enum { IsRowMajor = internal::traits<BlockType>::IsRowMajor };
|
enum { IsRowMajor = internal::traits<BlockType>::IsRowMajor };
|
||||||
EIGEN_SPARSE_PUBLIC_INTERFACE(BlockType)
|
EIGEN_SPARSE_PUBLIC_INTERFACE(BlockType)
|
||||||
|
|
||||||
|
typedef typename internal::remove_all<typename XprType::Nested>::type _MatrixTypeNested;
|
||||||
|
|
||||||
/** Column or Row constructor
|
/** Column or Row constructor
|
||||||
*/
|
*/
|
||||||
inline BlockImpl(const XprType& xpr, int i)
|
inline BlockImpl(const XprType& xpr, int i)
|
||||||
|
|||||||
Reference in New Issue
Block a user