bug #889: fix protected typedef
diff --git a/Eigen/src/IterativeLinearSolvers/SolveWithGuess.h b/Eigen/src/IterativeLinearSolvers/SolveWithGuess.h index 6cd4872..251c6fa 100644 --- a/Eigen/src/IterativeLinearSolvers/SolveWithGuess.h +++ b/Eigen/src/IterativeLinearSolvers/SolveWithGuess.h
@@ -42,6 +42,7 @@ { 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 @@ 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;