From 9c86ee26952cde01f91baa310e78b582483463c9 Mon Sep 17 00:00:00 2001 From: Gael Guennebaud Date: Tue, 31 Jan 2012 12:58:52 +0100 Subject: fix static inline versus inline static issues (the former is the correct order) --- Eigen/src/SparseCholesky/SimplicialCholesky.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'Eigen/src/SparseCholesky') diff --git a/Eigen/src/SparseCholesky/SimplicialCholesky.h b/Eigen/src/SparseCholesky/SimplicialCholesky.h index e414f157a..9a4e865c9 100644 --- a/Eigen/src/SparseCholesky/SimplicialCholesky.h +++ b/Eigen/src/SparseCholesky/SimplicialCholesky.h @@ -300,8 +300,8 @@ template struct traits CholMatrixType; typedef SparseTriangularView MatrixL; typedef SparseTriangularView MatrixU; - inline static MatrixL getL(const MatrixType& m) { return m; } - inline static MatrixU getU(const MatrixType& m) { return m.adjoint(); } + static inline MatrixL getL(const MatrixType& m) { return m; } + static inline MatrixU getU(const MatrixType& m) { return m.adjoint(); } }; template struct traits > @@ -313,8 +313,8 @@ template struct traits CholMatrixType; typedef SparseTriangularView MatrixL; typedef SparseTriangularView MatrixU; - inline static MatrixL getL(const MatrixType& m) { return m; } - inline static MatrixU getU(const MatrixType& m) { return m.adjoint(); } + static inline MatrixL getL(const MatrixType& m) { return m; } + static inline MatrixU getU(const MatrixType& m) { return m.adjoint(); } }; template struct traits > -- cgit v1.2.3