From a4f664251863907604d43be70a41cc4c1dddd42a Mon Sep 17 00:00:00 2001 From: Gael Guennebaud Date: Tue, 11 Aug 2009 15:11:47 +0200 Subject: [PATCH] fix issue #36 (missing return *this in Rotation2D --- Eigen/src/Geometry/Rotation2D.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Eigen/src/Geometry/Rotation2D.h b/Eigen/src/Geometry/Rotation2D.h index 594d5272b..b80fcace0 100644 --- a/Eigen/src/Geometry/Rotation2D.h +++ b/Eigen/src/Geometry/Rotation2D.h @@ -85,7 +85,7 @@ public: /** Concatenates two rotations */ inline Rotation2D& operator*=(const Rotation2D& other) - { return m_angle += other.m_angle; } + { return m_angle += other.m_angle; return *this; } /** Applies the rotation to a 2D vector */ Vector2 operator* (const Vector2& vec) const