aboutsummaryrefslogtreecommitdiffhomepage
path: root/Eigen
diff options
context:
space:
mode:
authorGravatar Rasmus Munk Larsen <rmlarsen@google.com>2021-06-22 14:31:32 +0000
committerGravatar Antonio Sánchez <cantonios@google.com>2021-06-22 14:31:32 +0000
commit4ad30a73fc8b707bf90b9ec712a12a7f63ae823a (patch)
treecd59a12061dca031af2b09b99cb78b1b94e62c4b /Eigen
parentea62c937edcc2c5efdaccfb6813ca39f48564ece (diff)
Use internal::ref_selector to avoid holding a reference to a RHS expression.
Diffstat (limited to 'Eigen')
-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 23d5cb707..af30fcec2 100644
--- a/Eigen/src/Core/Solve.h
+++ b/Eigen/src/Core/Solve.h
@@ -77,7 +77,7 @@ public:
protected:
const Decomposition &m_dec;
- const RhsType &m_rhs;
+ const typename internal::ref_selector<RhsType>::type m_rhs;
};