diff options
author | Gael Guennebaud <g.gael@free.fr> | 2009-08-11 15:11:47 +0200 |
---|---|---|
committer | Gael Guennebaud <g.gael@free.fr> | 2009-08-11 15:11:47 +0200 |
commit | a4f664251863907604d43be70a41cc4c1dddd42a (patch) | |
tree | 604c392af601e66bcf0644fa4186eed3818b4f44 /Eigen/src/Geometry/Rotation2D.h | |
parent | ea884e6f48380c4ec8e26f8cb9af98c8f9d12db6 (diff) |
fix issue #36 (missing return *this in Rotation2D
Diffstat (limited to 'Eigen/src/Geometry/Rotation2D.h')
-rw-r--r-- | Eigen/src/Geometry/Rotation2D.h | 2 |
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 |