diff options
-rw-r--r-- | Eigen/src/IterativeLinearSolvers/SolveWithGuess.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/Eigen/src/IterativeLinearSolvers/SolveWithGuess.h b/Eigen/src/IterativeLinearSolvers/SolveWithGuess.h index 6cd4872dc..251c6fa1a 100644 --- a/Eigen/src/IterativeLinearSolvers/SolveWithGuess.h +++ b/Eigen/src/IterativeLinearSolvers/SolveWithGuess.h @@ -42,6 +42,7 @@ class SolveWithGuess : public internal::generic_xpr_base<SolveWithGuess<Decompos { public: typedef typename RhsType::Index Index; + 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; @@ -61,8 +62,6 @@ protected: const RhsType &m_rhs; const GuessType &m_guess; - typedef typename internal::traits<SolveWithGuess>::Scalar Scalar; - private: Scalar coeff(Index row, Index col) const; Scalar coeff(Index i) const; |