diff options
Diffstat (limited to 'Eigen/src/Geometry/ParametrizedLine.h')
-rw-r--r-- | Eigen/src/Geometry/ParametrizedLine.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Eigen/src/Geometry/ParametrizedLine.h b/Eigen/src/Geometry/ParametrizedLine.h index 8a1d79252..e7d336e62 100644 --- a/Eigen/src/Geometry/ParametrizedLine.h +++ b/Eigen/src/Geometry/ParametrizedLine.h @@ -107,7 +107,7 @@ public: * then this function smartly returns a const reference to \c *this. */ template<typename NewScalarType> - typename ei_cast_return_type<ParametrizedLine, + inline typename ei_cast_return_type<ParametrizedLine, ParametrizedLine<NewScalarType,AmbientDimAtCompileTime> >::type cast() const { return typename ei_cast_return_type<ParametrizedLine, @@ -116,7 +116,7 @@ public: /** Copy constructor with scalar type conversion */ template<typename OtherScalarType> - explicit ParametrizedLine(const ParametrizedLine<OtherScalarType,AmbientDimAtCompileTime>& other) + inline explicit ParametrizedLine(const ParametrizedLine<OtherScalarType,AmbientDimAtCompileTime>& other) { m_origin = other.origin().template cast<OtherScalarType>(); m_direction = other.direction().template cast<OtherScalarType>(); |