mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-27 14:03:34 +08:00
Fix some template type conversions and style
This commit is contained in:
+1
-1
@@ -278,7 +278,7 @@ public:
|
||||
void operator/=(Type scalar)
|
||||
{
|
||||
Matrix<Type, M, N> &self = *this;
|
||||
self = self * (Type(1.0f) / scalar);
|
||||
self = self * (Type(1) / scalar);
|
||||
}
|
||||
|
||||
inline void operator+=(Type scalar)
|
||||
|
||||
Reference in New Issue
Block a user