aboutsummaryrefslogtreecommitdiffhomepage
path: root/Eigen/src/Core/Solve.h
diff options
context:
space:
mode:
authorGravatar Gael Guennebaud <g.gael@free.fr>2014-02-20 15:24:21 +0100
committerGravatar Gael Guennebaud <g.gael@free.fr>2014-02-20 15:24:21 +0100
commit96213335451c821f1b969ffbce5b6e73e5e55ca3 (patch)
tree687f6d61bef9694a5570724fe34717d1ef65dd82 /Eigen/src/Core/Solve.h
parent5f6ec95291a7adfe990854469d7697cc65642c8c (diff)
Fix dimension of Solve expression
Diffstat (limited to 'Eigen/src/Core/Solve.h')
-rw-r--r--Eigen/src/Core/Solve.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Eigen/src/Core/Solve.h b/Eigen/src/Core/Solve.h
index cab0e916e..c28789968 100644
--- a/Eigen/src/Core/Solve.h
+++ b/Eigen/src/Core/Solve.h
@@ -69,7 +69,7 @@ public:
: m_dec(dec), m_rhs(rhs)
{}
- EIGEN_DEVICE_FUNC Index rows() const { return m_dec.rows(); }
+ EIGEN_DEVICE_FUNC Index rows() const { return m_dec.cols(); }
EIGEN_DEVICE_FUNC Index cols() const { return m_rhs.cols(); }
EIGEN_DEVICE_FUNC const Decomposition& dec() const { return m_dec; }