mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-20 17:13:34 +08:00
use default constructors and skip unnecessary initialization
This commit is contained in:
+1
-1
@@ -46,7 +46,7 @@ public:
|
||||
*
|
||||
* Initializes to identity
|
||||
*/
|
||||
Dcm() : SquareMatrix<Type, 3>()
|
||||
Dcm()
|
||||
{
|
||||
(*this) = eye<Type, 3>();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user