diff options
author | Gael Guennebaud <g.gael@free.fr> | 2016-07-04 17:47:47 +0200 |
---|---|---|
committer | Gael Guennebaud <g.gael@free.fr> | 2016-07-04 17:47:47 +0200 |
commit | b39fd8217fbf98a921eaeb1f218632a09bda3f31 (patch) | |
tree | d75c9de33daecd7e5efa931ae34df2de6562d971 /Eigen/src/IterativeLinearSolvers | |
parent | ec02af1047091b45243e929ab8d723b202298040 (diff) |
Fix nesting of SolveWithGuess, and add unit test.
Diffstat (limited to 'Eigen/src/IterativeLinearSolvers')
-rw-r--r-- | Eigen/src/IterativeLinearSolvers/SolveWithGuess.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Eigen/src/IterativeLinearSolvers/SolveWithGuess.h b/Eigen/src/IterativeLinearSolvers/SolveWithGuess.h index 264f783b8..0498db396 100644 --- a/Eigen/src/IterativeLinearSolvers/SolveWithGuess.h +++ b/Eigen/src/IterativeLinearSolvers/SolveWithGuess.h @@ -44,6 +44,7 @@ public: typedef typename internal::traits<SolveWithGuess>::Scalar Scalar; typedef typename internal::traits<SolveWithGuess>::PlainObject PlainObject; typedef typename internal::generic_xpr_base<SolveWithGuess<Decomposition,RhsType,GuessType>, MatrixXpr, typename internal::traits<RhsType>::StorageKind>::type Base; + typedef typename internal::ref_selector<SolveWithGuess>::type Nested; SolveWithGuess(const Decomposition &dec, const RhsType &rhs, const GuessType &guess) : m_dec(dec), m_rhs(rhs), m_guess(guess) |