mirror of
https://gitlab.com/libeigen/eigen.git
synced 2026-04-10 11:34:33 +08:00
Replace instances of EIGEN_CONSTEXPR macro
This commit is contained in:
@@ -64,10 +64,10 @@ class PartialReduxExpr : public internal::dense_xpr_base<PartialReduxExpr<Matrix
|
||||
EIGEN_DEVICE_FUNC explicit PartialReduxExpr(const MatrixType& mat, const MemberOp& func = MemberOp())
|
||||
: m_matrix(mat), m_functor(func) {}
|
||||
|
||||
EIGEN_DEVICE_FUNC EIGEN_CONSTEXPR Index rows() const EIGEN_NOEXCEPT {
|
||||
EIGEN_DEVICE_FUNC constexpr Index rows() const EIGEN_NOEXCEPT {
|
||||
return (Direction == Vertical ? 1 : m_matrix.rows());
|
||||
}
|
||||
EIGEN_DEVICE_FUNC EIGEN_CONSTEXPR Index cols() const EIGEN_NOEXCEPT {
|
||||
EIGEN_DEVICE_FUNC constexpr Index cols() const EIGEN_NOEXCEPT {
|
||||
return (Direction == Horizontal ? 1 : m_matrix.cols());
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user