diff --git a/matrix/Dcm.hpp b/matrix/Dcm.hpp index cd9c3923c2..1b4bf03fda 100644 --- a/matrix/Dcm.hpp +++ b/matrix/Dcm.hpp @@ -38,7 +38,7 @@ class AxisAngle; * described by this class. */ template -class Dcm : public Matrix +class Dcm : public SquareMatrix { public: virtual ~Dcm() {}; @@ -50,7 +50,7 @@ public: * * Initializes to identity */ - Dcm() : Matrix() + Dcm() : SquareMatrix() { (*this) = eye(); } @@ -60,7 +60,7 @@ public: * * @param _data pointer to array */ - Dcm(const Type *data_) : Matrix(data_) + Dcm(const Type *data_) : SquareMatrix(data_) { } @@ -69,7 +69,7 @@ public: * * @param other Matrix33 to set dcm to */ - Dcm(const Matrix &other) : Matrix(other) + Dcm(const Matrix &other) : SquareMatrix(other) { }