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());