aboutsummaryrefslogtreecommitdiffhomepage
path: root/Eigen/src/Core/Inverse.h
diff options
context:
space:
mode:
authorGravatar Gael Guennebaud <g.gael@free.fr>2015-10-08 18:36:39 +0200
committerGravatar Gael Guennebaud <g.gael@free.fr>2015-10-08 18:36:39 +0200
commitd866279364414235b531ab9c03eda6a14d9da1c5 (patch)
tree89a659e059bb2fd4aaea88afaa2c0fab5565950d /Eigen/src/Core/Inverse.h
parent8d00a953af6d84413abd0c8941db6666f4e0bf4e (diff)
Clean a bit the implementation of inverse permutations
Diffstat (limited to 'Eigen/src/Core/Inverse.h')
-rw-r--r--Eigen/src/Core/Inverse.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/Eigen/src/Core/Inverse.h b/Eigen/src/Core/Inverse.h
index 8e6b275f7..8ba1a12d9 100644
--- a/Eigen/src/Core/Inverse.h
+++ b/Eigen/src/Core/Inverse.h
@@ -47,11 +47,12 @@ public:
typedef typename XprType::PlainObject PlainObject;
typedef typename internal::ref_selector<XprType>::type XprTypeNested;
typedef typename internal::remove_all<XprTypeNested>::type XprTypeNestedCleaned;
+ typedef typename internal::ref_selector<Inverse>::type Nested;
explicit Inverse(const XprType &xpr)
: m_xpr(xpr)
{}
-
+
EIGEN_DEVICE_FUNC Index rows() const { return m_xpr.rows(); }
EIGEN_DEVICE_FUNC Index cols() const { return m_xpr.cols(); }