diff options
author | Gael Guennebaud <g.gael@free.fr> | 2012-03-08 21:31:49 +0100 |
---|---|---|
committer | Gael Guennebaud <g.gael@free.fr> | 2012-03-08 21:31:49 +0100 |
commit | 48a3e0ed55f2f9efbc31a796104465e89f91dbf8 (patch) | |
tree | b57f132c50d7c37e108bcb6f031f853dc82d80f6 /Eigen/src/PardisoSupport/PardisoSupport.h | |
parent | 0d8466d3178f8dc42d2bf7c55667468b94680864 (diff) |
fix conversion warning
Diffstat (limited to 'Eigen/src/PardisoSupport/PardisoSupport.h')
-rw-r--r-- | Eigen/src/PardisoSupport/PardisoSupport.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Eigen/src/PardisoSupport/PardisoSupport.h b/Eigen/src/PardisoSupport/PardisoSupport.h index 3904e6418..cb22e992a 100644 --- a/Eigen/src/PardisoSupport/PardisoSupport.h +++ b/Eigen/src/PardisoSupport/PardisoSupport.h @@ -370,7 +370,7 @@ bool PardisoImpl<Base>::_solve(const MatrixBase<BDerived> &b, MatrixBase<XDerive return false; //Index n = m_matrix.rows(); - Index nrhs = b.cols(); + Index nrhs = Index(b.cols()); eigen_assert(m_size==b.rows()); eigen_assert(((MatrixBase<BDerived>::Flags & RowMajorBit) == 0 || nrhs == 1) && "Row-major right hand sides are not supported"); eigen_assert(((MatrixBase<XDerived>::Flags & RowMajorBit) == 0 || nrhs == 1) && "Row-major matrices of unknowns are not supported"); |