mirror of
https://gitlab.com/libeigen/eigen.git
synced 2026-04-10 11:34:33 +08:00
Replace instances of EIGEN_NOEXCEPT macros
This commit is contained in:
committed by
Charles Schlosser
parent
d2dce37767
commit
619be0deb6
@@ -64,12 +64,8 @@ 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 constexpr Index rows() const EIGEN_NOEXCEPT {
|
||||
return (Direction == Vertical ? 1 : m_matrix.rows());
|
||||
}
|
||||
EIGEN_DEVICE_FUNC constexpr Index cols() const EIGEN_NOEXCEPT {
|
||||
return (Direction == Horizontal ? 1 : m_matrix.cols());
|
||||
}
|
||||
EIGEN_DEVICE_FUNC constexpr Index rows() const noexcept { return (Direction == Vertical ? 1 : m_matrix.rows()); }
|
||||
EIGEN_DEVICE_FUNC constexpr Index cols() const noexcept { return (Direction == Horizontal ? 1 : m_matrix.cols()); }
|
||||
|
||||
EIGEN_DEVICE_FUNC typename MatrixType::Nested nestedExpression() const { return m_matrix; }
|
||||
|
||||
|
||||
Reference in New Issue
Block a user