Browse Source

Quaternion: Use template type instead of single hardcoded type

master
kamilritz 5 years ago committed by Julian Kent
parent
commit
8a59b463f2
  1. 2
      matrix/Quaternion.hpp

2
matrix/Quaternion.hpp

@ -530,7 +530,7 @@ public: @@ -530,7 +530,7 @@ public:
* XXX DEPRECATED, can use assignment or ctor
*/
Quaternion from_dcm(const Matrix<Type, 3, 3>& dcm) {
return Quaternion(Dcmf(dcm));
return Quaternion(Dcm<Type>(dcm));
}
/**

Loading…
Cancel
Save