diff options
author | Gael Guennebaud <g.gael@free.fr> | 2016-05-27 10:31:11 +0200 |
---|---|---|
committer | Gael Guennebaud <g.gael@free.fr> | 2016-05-27 10:31:11 +0200 |
commit | 22a035db9583a84c0b9be885e54cac847dbaa654 (patch) | |
tree | e472f6f149a8180d4cc32629a7dc52b6845d49a2 /unsupported/Eigen/src/IterativeSolvers | |
parent | e0cb73b46bba4715526c24c5c6ff2d0d6f6ffc35 (diff) |
Fix compilation when defaulting to row-major
Diffstat (limited to 'unsupported/Eigen/src/IterativeSolvers')
-rw-r--r-- | unsupported/Eigen/src/IterativeSolvers/GMRES.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/unsupported/Eigen/src/IterativeSolvers/GMRES.h b/unsupported/Eigen/src/IterativeSolvers/GMRES.h index 517035c66..5a82b0df6 100644 --- a/unsupported/Eigen/src/IterativeSolvers/GMRES.h +++ b/unsupported/Eigen/src/IterativeSolvers/GMRES.h @@ -62,7 +62,7 @@ bool gmres(const MatrixType & mat, const Rhs & rhs, Dest & x, const Precondition typedef typename Dest::RealScalar RealScalar; typedef typename Dest::Scalar Scalar; typedef Matrix < Scalar, Dynamic, 1 > VectorType; - typedef Matrix < Scalar, Dynamic, Dynamic > FMatrixType; + typedef Matrix < Scalar, Dynamic, Dynamic, ColMajor> FMatrixType; RealScalar tol = tol_error; const Index maxIters = iters; |