aboutsummaryrefslogtreecommitdiffhomepage
path: root/Eigen
diff options
context:
space:
mode:
authorGravatar Christoph Hertzberg <chtz@informatik.uni-bremen.de>2018-08-17 16:30:32 +0200
committerGravatar Christoph Hertzberg <chtz@informatik.uni-bremen.de>2018-08-17 16:30:32 +0200
commit595cae9b09bf322a747f8ff5aade76448db58a17 (patch)
tree7a64b7407de320e9e4a73935f4a59e66337d2f30 /Eigen
parentc9b25fbefa44f684f76e9a669be217c9d3e7734d (diff)
Silence logical-op-parentheses warning
Diffstat (limited to 'Eigen')
-rw-r--r--Eigen/src/SuperLUSupport/SuperLUSupport.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/Eigen/src/SuperLUSupport/SuperLUSupport.h b/Eigen/src/SuperLUSupport/SuperLUSupport.h
index 4bb95eb8b..354e33de5 100644
--- a/Eigen/src/SuperLUSupport/SuperLUSupport.h
+++ b/Eigen/src/SuperLUSupport/SuperLUSupport.h
@@ -297,8 +297,8 @@ SluMatrix asSluMatrix(MatrixType& mat)
template<typename Scalar, int Flags, typename Index>
MappedSparseMatrix<Scalar,Flags,Index> map_superlu(SluMatrix& sluMat)
{
- eigen_assert((Flags&RowMajor)==RowMajor && sluMat.Stype == SLU_NR
- || (Flags&ColMajor)==ColMajor && sluMat.Stype == SLU_NC);
+ eigen_assert(((Flags&RowMajor)==RowMajor && sluMat.Stype == SLU_NR)
+ || ((Flags&ColMajor)==ColMajor && sluMat.Stype == SLU_NC));
Index outerSize = (Flags&RowMajor)==RowMajor ? sluMat.ncol : sluMat.nrow;