diff options
author | Gael Guennebaud <g.gael@free.fr> | 2012-02-08 21:50:51 +0100 |
---|---|---|
committer | Gael Guennebaud <g.gael@free.fr> | 2012-02-08 21:50:51 +0100 |
commit | 5bb34fd14c74021314744cb1d4a82a39449359cf (patch) | |
tree | 15f31342e3fcf5b6bfa5d84e7e5ce91214fee1d3 /Eigen | |
parent | a1c7b5aa48cfa43b8369774f6891c83152df3bc6 (diff) |
fix bug #415: wrong return in Rotation2D::operator*=
Diffstat (limited to 'Eigen')
-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 2488ce557..a48e6337a 100644 --- a/Eigen/src/Geometry/Rotation2D.h +++ b/Eigen/src/Geometry/Rotation2D.h @@ -89,7 +89,7 @@ public: /** Concatenates two rotations */ inline Rotation2D& operator*=(const Rotation2D& other) - { return m_angle += other.m_angle; return *this; } + { m_angle += other.m_angle; return *this; } /** Applies the rotation to a 2D vector */ Vector2 operator* (const Vector2& vec) const |