mirror of
https://gitlab.com/libeigen/eigen.git
synced 2025-09-23 23:03:15 +08:00
fix conversion warning
This commit is contained in:
parent
0d8466d317
commit
48a3e0ed55
@ -370,7 +370,7 @@ bool PardisoImpl<Base>::_solve(const MatrixBase<BDerived> &b, MatrixBase<XDerive
|
|||||||
return false;
|
return false;
|
||||||
|
|
||||||
//Index n = m_matrix.rows();
|
//Index n = m_matrix.rows();
|
||||||
Index nrhs = b.cols();
|
Index nrhs = Index(b.cols());
|
||||||
eigen_assert(m_size==b.rows());
|
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<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");
|
eigen_assert(((MatrixBase<XDerived>::Flags & RowMajorBit) == 0 || nrhs == 1) && "Row-major matrices of unknowns are not supported");
|
||||||
|
Loading…
x
Reference in New Issue
Block a user