mirror of
https://gitlab.com/libeigen/eigen.git
synced 2025-07-30 16:52:01 +08:00
Silence indexing warning.
This commit is contained in:
parent
e3853353fb
commit
aeb12b417d
@ -27,8 +27,8 @@
|
|||||||
|
|
||||||
template<typename MatrixType> void upperbidiag(const MatrixType& m)
|
template<typename MatrixType> void upperbidiag(const MatrixType& m)
|
||||||
{
|
{
|
||||||
int rows = m.rows();
|
const typename MatrixType::Index rows = m.rows();
|
||||||
int cols = m.cols();
|
const typename MatrixType::Index cols = m.cols();
|
||||||
|
|
||||||
typedef typename MatrixType::Scalar Scalar;
|
typedef typename MatrixType::Scalar Scalar;
|
||||||
typedef Matrix<typename MatrixType::RealScalar, MatrixType::RowsAtCompileTime, MatrixType::ColsAtCompileTime> RealMatrixType;
|
typedef Matrix<typename MatrixType::RealScalar, MatrixType::RowsAtCompileTime, MatrixType::ColsAtCompileTime> RealMatrixType;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user