diff options
author | Hauke Heibel <hauke.heibel@gmail.com> | 2010-06-20 21:44:25 +0200 |
---|---|---|
committer | Hauke Heibel <hauke.heibel@gmail.com> | 2010-06-20 21:44:25 +0200 |
commit | f34eaa2628181f94262ea87c3cd48ad116915551 (patch) | |
tree | ac02e26b202cc67fc333671af6f409618cb4b1da /unsupported/test/polynomialsolver.cpp | |
parent | 546b802b77817dd7f5cd3b6781ce1a1ac0f728b5 (diff) |
Next try - more Index fixes.
Diffstat (limited to 'unsupported/test/polynomialsolver.cpp')
-rw-r--r-- | unsupported/test/polynomialsolver.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/unsupported/test/polynomialsolver.cpp b/unsupported/test/polynomialsolver.cpp index 1f2d7e1f3..f6a574a60 100644 --- a/unsupported/test/polynomialsolver.cpp +++ b/unsupported/test/polynomialsolver.cpp @@ -47,12 +47,13 @@ struct ei_increment_if_fixed_size template<int Deg, typename POLYNOMIAL, typename SOLVER> bool aux_evalSolver( const POLYNOMIAL& pols, SOLVER& psolve ) { + typedef typename POLYNOMIAL::Index Index; typedef typename POLYNOMIAL::Scalar Scalar; typedef typename SOLVER::RootsType RootsType; typedef Matrix<Scalar,Deg,1> EvalRootsType; - const int deg = pols.size()-1; + const Index deg = pols.size()-1; psolve.compute( pols ); const RootsType& roots( psolve.roots() ); |