Fix a compilation error

A template specialization (that is a complete specialization) is not a
template. The typename keyword must not be used in typedefs.
This commit is contained in:
Laurent Rineau 2012-06-29 11:07:34 +00:00
parent 83ae4dfda7
commit 7cc17ddece
1 changed files with 2 additions and 2 deletions

View File

@ -104,11 +104,11 @@ template<>
class Eigen_solver_traits< Eigen::BiCGSTAB<Eigen_sparse_matrix<double>::EigenType> >
{
typedef Eigen::BiCGSTAB<Eigen_sparse_matrix<double>::EigenType> EigenSolverT;
typedef typename EigenSolverT::Scalar Scalar;
typedef EigenSolverT::Scalar Scalar;
// Public types
public:
typedef Scalar NT;
typedef typename internal::Get_eigen_matrix<EigenSolverT,NT>::type Matrix;
typedef internal::Get_eigen_matrix<EigenSolverT,NT>::type Matrix;
typedef Eigen_vector<Scalar> Vector;