From 6d08f71a2dcedf2eee26b1b04f2359502100e078 Mon Sep 17 00:00:00 2001 From: Hauke Heibel Date: Sun, 14 Mar 2010 12:09:29 +0100 Subject: [PATCH] Removed strong inlines which cannot always be inlined. --- Eigen/src/Sparse/SparseMatrixBase.h | 2 +- Eigen/src/Sparse/SparseProduct.h | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Eigen/src/Sparse/SparseMatrixBase.h b/Eigen/src/Sparse/SparseMatrixBase.h index cf1a5d7bf..d269ce604 100644 --- a/Eigen/src/Sparse/SparseMatrixBase.h +++ b/Eigen/src/Sparse/SparseMatrixBase.h @@ -557,7 +557,7 @@ template class SparseMatrixBase : public EigenBase * Notice that in the case of a plain matrix or vector (not an expression) this function just returns * a const reference, in order to avoid a useless copy. */ - EIGEN_STRONG_INLINE const typename ei_eval::type eval() const + inline const typename ei_eval::type eval() const { return typename ei_eval::type(derived()); } // template diff --git a/Eigen/src/Sparse/SparseProduct.h b/Eigen/src/Sparse/SparseProduct.h index a56bc7601..efc676a69 100644 --- a/Eigen/src/Sparse/SparseProduct.h +++ b/Eigen/src/Sparse/SparseProduct.h @@ -562,7 +562,7 @@ class DenseTimeSparseProduct // sparse * sparse template template -EIGEN_STRONG_INLINE const typename SparseProductReturnType::Type +inline const typename SparseProductReturnType::Type SparseMatrixBase::operator*(const SparseMatrixBase &other) const { return typename SparseProductReturnType::Type(derived(), other.derived()); @@ -571,7 +571,7 @@ SparseMatrixBase::operator*(const SparseMatrixBase &other // sparse * dense template template -EIGEN_STRONG_INLINE const SparseTimeDenseProduct +inline const SparseTimeDenseProduct SparseMatrixBase::operator*(const MatrixBase &other) const { return SparseTimeDenseProduct(derived(), other.derived());