mirror of
https://gitlab.com/libeigen/eigen.git
synced 2026-04-10 11:34:33 +08:00
Index refactoring: StorageIndex must be used for storage only (and locally when it make sense). In all other cases use the global Index type.
This commit is contained in:
@@ -31,7 +31,6 @@ class KroneckerProductBase : public ReturnByValue<Derived>
|
||||
protected:
|
||||
typedef typename Traits::Lhs Lhs;
|
||||
typedef typename Traits::Rhs Rhs;
|
||||
typedef typename Traits::StorageIndex StorageIndex;
|
||||
|
||||
public:
|
||||
/*! \brief Constructor. */
|
||||
@@ -39,8 +38,8 @@ class KroneckerProductBase : public ReturnByValue<Derived>
|
||||
: m_A(A), m_B(B)
|
||||
{}
|
||||
|
||||
inline StorageIndex rows() const { return m_A.rows() * m_B.rows(); }
|
||||
inline StorageIndex cols() const { return m_A.cols() * m_B.cols(); }
|
||||
inline Index rows() const { return m_A.rows() * m_B.rows(); }
|
||||
inline Index cols() const { return m_A.cols() * m_B.cols(); }
|
||||
|
||||
/*!
|
||||
* This overrides ReturnByValue::coeff because this function is
|
||||
|
||||
Reference in New Issue
Block a user