mirror of
https://gitlab.com/libeigen/eigen.git
synced 2025-08-16 05:35:57 +08:00
bug #1300: compilation fix in Block<Sparse>
This commit is contained in:
parent
fb81e4ab79
commit
a60d71b840
@ -522,13 +522,13 @@ public:
|
|||||||
|
|
||||||
namespace internal {
|
namespace internal {
|
||||||
template<typename XprType, int BlockRows, int BlockCols, bool InnerPanel>
|
template<typename XprType, int BlockRows, int BlockCols, bool InnerPanel>
|
||||||
class GenericSparseBlockInnerIteratorImpl<XprType,BlockRows,BlockCols,InnerPanel,false> : public Block<XprType, BlockRows, BlockCols, InnerPanel>::_MatrixTypeNested::InnerIterator
|
class GenericSparseBlockInnerIteratorImpl<XprType,BlockRows,BlockCols,InnerPanel,false> : public internal::remove_all<typename XprType::Nested>::type::InnerIterator
|
||||||
{
|
{
|
||||||
typedef Block<XprType, BlockRows, BlockCols, InnerPanel> BlockType;
|
typedef Block<XprType, BlockRows, BlockCols, InnerPanel> BlockType;
|
||||||
enum {
|
enum {
|
||||||
IsRowMajor = BlockType::IsRowMajor
|
IsRowMajor = BlockType::IsRowMajor
|
||||||
};
|
};
|
||||||
typedef typename BlockType::_MatrixTypeNested _MatrixTypeNested;
|
typedef typename internal::remove_all<typename XprType::Nested>::type _MatrixTypeNested;
|
||||||
typedef typename BlockType::Index Index;
|
typedef typename BlockType::Index Index;
|
||||||
typedef typename _MatrixTypeNested::InnerIterator Base;
|
typedef typename _MatrixTypeNested::InnerIterator Base;
|
||||||
const BlockType& m_block;
|
const BlockType& m_block;
|
||||||
@ -560,7 +560,7 @@ namespace internal {
|
|||||||
enum {
|
enum {
|
||||||
IsRowMajor = BlockType::IsRowMajor
|
IsRowMajor = BlockType::IsRowMajor
|
||||||
};
|
};
|
||||||
typedef typename BlockType::_MatrixTypeNested _MatrixTypeNested;
|
typedef typename internal::remove_all<typename XprType::Nested>::type _MatrixTypeNested;
|
||||||
typedef typename BlockType::Index Index;
|
typedef typename BlockType::Index Index;
|
||||||
typedef typename BlockType::Scalar Scalar;
|
typedef typename BlockType::Scalar Scalar;
|
||||||
const BlockType& m_block;
|
const BlockType& m_block;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user