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 b344493c7..5a73b0fde 100644 --- a/Eigen/src/Geometry/ParametrizedLine.h +++ b/Eigen/src/Geometry/ParametrizedLine.h @@ -118,8 +118,8 @@ public: template<typename OtherScalarType> inline explicit ParametrizedLine(const ParametrizedLine<OtherScalarType,AmbientDimAtCompileTime>& other) { - m_origin = other.origin().template cast<OtherScalarType>(); - m_direction = other.direction().template cast<OtherScalarType>(); + m_origin = other.origin().template cast<Scalar>(); + m_direction = other.direction().template cast<Scalar>(); } /** \returns \c true if \c *this is approximately equal to \a other, within the precision |