aboutsummaryrefslogtreecommitdiffhomepage
path: root/Eigen/src/Geometry/Rotation2D.h
diff options
context:
space:
mode:
authorGravatar Gael Guennebaud <g.gael@free.fr>2009-08-11 15:11:47 +0200
committerGravatar Gael Guennebaud <g.gael@free.fr>2009-08-11 15:11:47 +0200
commita4f664251863907604d43be70a41cc4c1dddd42a (patch)
tree604c392af601e66bcf0644fa4186eed3818b4f44 /Eigen/src/Geometry/Rotation2D.h
parentea884e6f48380c4ec8e26f8cb9af98c8f9d12db6 (diff)
fix issue #36 (missing return *this in Rotation2D
Diffstat (limited to 'Eigen/src/Geometry/Rotation2D.h')
-rw-r--r--Eigen/src/Geometry/Rotation2D.h2
1 files changed, 1 insertions, 1 deletions
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