mirror of
https://gitlab.com/libeigen/eigen.git
synced 2026-04-10 11:34:33 +08:00
Handle PropagateFast the same way as PropagateNaN in minmax visitor to
This commit is contained in:
@@ -112,6 +112,15 @@ template<typename MatrixType> void matrixVisitor(const MatrixType& p)
|
||||
VERIFY(eigen_maxcol == 0);
|
||||
VERIFY((numext::isnan)(eigen_minc));
|
||||
VERIFY((numext::isnan)(eigen_maxc));
|
||||
|
||||
eigen_minc = m.template minCoeff<PropagateFast>(&eigen_minrow, &eigen_mincol);
|
||||
eigen_maxc = m.template maxCoeff<PropagateFast>(&eigen_maxrow, &eigen_maxcol);
|
||||
VERIFY(eigen_minrow == 0);
|
||||
VERIFY(eigen_maxrow == 0);
|
||||
VERIFY(eigen_mincol == 0);
|
||||
VERIFY(eigen_maxcol == 0);
|
||||
VERIFY((numext::isnan)(eigen_minc));
|
||||
VERIFY((numext::isnan)(eigen_maxc));
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user