diff options
author | 2014-10-08 07:48:30 +0200 | |
---|---|---|
committer | 2014-10-08 07:48:30 +0200 | |
commit | 4b886e6b39e4fd82365830b1dfa1bdc75a36f302 (patch) | |
tree | 4a7420960969e9e0cee4d1b64505a99c9703fec3 /Eigen/src/IterativeLinearSolvers | |
parent | 57413492948d4c9dd6572f5bde6720b80122054a (diff) |
bug #889: fix protected typedef
Diffstat (limited to 'Eigen/src/IterativeLinearSolvers')
-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; |