mirror of
https://gitlab.com/libeigen/eigen.git
synced 2026-04-10 11:34:33 +08:00
turn some macros intro constexpr functions
This commit is contained in:
committed by
Rasmus Munk Larsen
parent
0f36e42169
commit
c20e908ebc
@@ -82,7 +82,7 @@ void check_random_matrix(const MatrixType &m)
|
||||
enum {
|
||||
Rows = MatrixType::RowsAtCompileTime,
|
||||
Cols = MatrixType::ColsAtCompileTime,
|
||||
DiagSize = EIGEN_SIZE_MIN_PREFER_DYNAMIC(Rows, Cols)
|
||||
DiagSize = internal::min_size_prefer_dynamic(Rows, Cols)
|
||||
};
|
||||
typedef typename MatrixType::Scalar Scalar;
|
||||
typedef typename NumTraits<Scalar>::Real RealScalar;
|
||||
|
||||
Reference in New Issue
Block a user