mirror of
https://gitlab.com/libeigen/eigen.git
synced 2026-04-10 11:34:33 +08:00
fix singed integer overflow UB in integer_types and other trivial compiler warnings
libeigen/eigen!2380
This commit is contained in:
@@ -505,7 +505,6 @@ template <typename Scalar>
|
||||
void cholesky_rowmajor_boundary() {
|
||||
typedef typename NumTraits<Scalar>::Real RealScalar;
|
||||
typedef Matrix<Scalar, Dynamic, Dynamic, RowMajor> RowMatrixType;
|
||||
typedef Matrix<Scalar, Dynamic, 1> VectorType;
|
||||
|
||||
const Index sizes[] = {7, 8, 9, 15, 16, 17, 31, 32, 33};
|
||||
for (Index si = 0; si < Index(sizeof(sizes) / sizeof(sizes[0])); ++si) {
|
||||
|
||||
Reference in New Issue
Block a user