bug #889: fix protected typedef

This commit is contained in:
Gael Guennebaud 2014-10-08 07:48:30 +02:00
parent 5741349294
commit 4b886e6b39

View File

@ -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;