Browse Source

AP_Math: prevent transpose usage error in matrix API

master
Andrew Tridgell 11 years ago
parent
commit
2e9744d0b3
  1. 4
      libraries/AP_Math/matrix3.h

4
libraries/AP_Math/matrix3.h

@ -176,9 +176,9 @@ public: @@ -176,9 +176,9 @@ public:
// transpose the matrix
Matrix3<T> transposed(void) const;
Matrix3<T> transpose(void)
void transpose(void)
{
return *this = transposed();
*this = transposed();
}
// zero the matrix

Loading…
Cancel
Save