diff options
author | Gael Guennebaud <g.gael@free.fr> | 2008-10-25 22:41:53 +0000 |
---|---|---|
committer | Gael Guennebaud <g.gael@free.fr> | 2008-10-25 22:41:53 +0000 |
commit | 505ce85814f9291b7d242ef57582d7b15e673f26 (patch) | |
tree | 2ea8bdcdbfb0dd59b411ea2743bb4d7c706ad4a2 /Eigen/src/Geometry/Hyperplane.h | |
parent | e5b8a59cfa5d9d7f81aad80d91c90b613efb2b67 (diff) |
oops forgot the inline keyword (though for gcc it was implicit)
Diffstat (limited to 'Eigen/src/Geometry/Hyperplane.h')
-rw-r--r-- | Eigen/src/Geometry/Hyperplane.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Eigen/src/Geometry/Hyperplane.h b/Eigen/src/Geometry/Hyperplane.h index 6d2462574..d3327a418 100644 --- a/Eigen/src/Geometry/Hyperplane.h +++ b/Eigen/src/Geometry/Hyperplane.h @@ -244,7 +244,7 @@ public: * then this function smartly returns a const reference to \c *this. */ template<typename NewScalarType> - typename ei_cast_return_type<Hyperplane, + inline typename ei_cast_return_type<Hyperplane, Hyperplane<NewScalarType,AmbientDimAtCompileTime> >::type cast() const { return typename ei_cast_return_type<Hyperplane, @@ -253,7 +253,7 @@ public: /** Copy constructor with scalar type conversion */ template<typename OtherScalarType> - explicit Hyperplane(const Hyperplane<OtherScalarType,AmbientDimAtCompileTime>& other) + inline explicit Hyperplane(const Hyperplane<OtherScalarType,AmbientDimAtCompileTime>& other) { m_coeffs = other.coeffs().template cast<OtherScalarType>(); } protected: |