mirror of
https://gitlab.com/libeigen/eigen.git
synced 2026-04-10 11:34:33 +08:00
Format EIGEN_STATIC_ASSERT() as a statement macro
This commit is contained in:
committed by
Rasmus Munk Larsen
parent
f78dfe36b0
commit
d165c7377f
@@ -140,7 +140,8 @@ void comparisons(const MatrixType& m) {
|
||||
// and/or
|
||||
VERIFY(((m1.array() < RealScalar(0)).matrix() && (m1.array() > RealScalar(0)).matrix()).count() == 0);
|
||||
VERIFY(((m1.array() < RealScalar(0)).matrix() || (m1.array() >= RealScalar(0)).matrix()).count() == rows * cols);
|
||||
VERIFY(((m1.array() < -mid).matrix() || (m1.array() > mid).matrix()).count() == (m1.cwiseAbs().array() > mid).count());
|
||||
VERIFY(((m1.array() < -mid).matrix() || (m1.array() > mid).matrix()).count() ==
|
||||
(m1.cwiseAbs().array() > mid).count());
|
||||
|
||||
typedef Matrix<Index, Dynamic, 1> VectorOfIndices;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user