From e40852d282d0c4434d24f265e355b0708ac71d68 Mon Sep 17 00:00:00 2001 From: Hauke Heibel Date: Wed, 2 Jun 2010 19:17:41 +0200 Subject: Fixes #104. --- Eigen/src/Core/Dot.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Eigen/src/Core/Dot.h') diff --git a/Eigen/src/Core/Dot.h b/Eigen/src/Core/Dot.h index 6e54dac3c..dfa313e89 100644 --- a/Eigen/src/Core/Dot.h +++ b/Eigen/src/Core/Dot.h @@ -85,7 +85,7 @@ MatrixBase::dot(const MatrixBase& other) const * \sa dot(), norm() */ template -inline typename NumTraits::Scalar>::Real MatrixBase::squaredNorm() const +EIGEN_STRONG_INLINE typename NumTraits::Scalar>::Real MatrixBase::squaredNorm() const { return ei_real((*this).cwiseAbs2().sum()); } -- cgit v1.2.3