mirror of
https://gitlab.com/libeigen/eigen.git
synced 2026-04-10 11:34:33 +08:00
Fix compilation when defaulting to row-major
This commit is contained in:
@@ -62,7 +62,7 @@ bool gmres(const MatrixType & mat, const Rhs & rhs, Dest & x, const Precondition
|
|||||||
typedef typename Dest::RealScalar RealScalar;
|
typedef typename Dest::RealScalar RealScalar;
|
||||||
typedef typename Dest::Scalar Scalar;
|
typedef typename Dest::Scalar Scalar;
|
||||||
typedef Matrix < Scalar, Dynamic, 1 > VectorType;
|
typedef Matrix < Scalar, Dynamic, 1 > VectorType;
|
||||||
typedef Matrix < Scalar, Dynamic, Dynamic > FMatrixType;
|
typedef Matrix < Scalar, Dynamic, Dynamic, ColMajor> FMatrixType;
|
||||||
|
|
||||||
RealScalar tol = tol_error;
|
RealScalar tol = tol_error;
|
||||||
const Index maxIters = iters;
|
const Index maxIters = iters;
|
||||||
|
|||||||
Reference in New Issue
Block a user