mirror of
https://gitlab.com/libeigen/eigen.git
synced 2026-04-10 11:34:33 +08:00
Fix a collection of random failures encountered when testing with Bazel.
This commit is contained in:
committed by
Rasmus Munk Larsen
parent
0bce653efc
commit
a395ee162d
@@ -24,6 +24,8 @@ void zeroReduction(const MatrixType& m) {
|
||||
VERIFY_RAISES_ASSERT(m.minCoeff());
|
||||
VERIFY_RAISES_ASSERT(m.maxCoeff());
|
||||
Index i, j;
|
||||
EIGEN_UNUSED_VARIABLE(i); // Only used if exceptions are enabled.
|
||||
EIGEN_UNUSED_VARIABLE(j);
|
||||
VERIFY_RAISES_ASSERT(m.minCoeff(&i, &j));
|
||||
VERIFY_RAISES_ASSERT(m.maxCoeff(&i, &j));
|
||||
VERIFY_RAISES_ASSERT(m.reshaped().minCoeff(&i));
|
||||
|
||||
Reference in New Issue
Block a user