mirror of
https://gitlab.com/libeigen/eigen.git
synced 2025-07-25 22:34:30 +08:00
Silence logical-op-parentheses warning
This commit is contained in:
parent
c9b25fbefa
commit
595cae9b09
@ -297,8 +297,8 @@ SluMatrix asSluMatrix(MatrixType& mat)
|
|||||||
template<typename Scalar, int Flags, typename Index>
|
template<typename Scalar, int Flags, typename Index>
|
||||||
MappedSparseMatrix<Scalar,Flags,Index> map_superlu(SluMatrix& sluMat)
|
MappedSparseMatrix<Scalar,Flags,Index> map_superlu(SluMatrix& sluMat)
|
||||||
{
|
{
|
||||||
eigen_assert((Flags&RowMajor)==RowMajor && sluMat.Stype == SLU_NR
|
eigen_assert(((Flags&RowMajor)==RowMajor && sluMat.Stype == SLU_NR)
|
||||||
|| (Flags&ColMajor)==ColMajor && sluMat.Stype == SLU_NC);
|
|| ((Flags&ColMajor)==ColMajor && sluMat.Stype == SLU_NC));
|
||||||
|
|
||||||
Index outerSize = (Flags&RowMajor)==RowMajor ? sluMat.ncol : sluMat.nrow;
|
Index outerSize = (Flags&RowMajor)==RowMajor ? sluMat.ncol : sluMat.nrow;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user