mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-06-27 16:50:36 +08:00
Formatting and added Scalar.
This commit is contained in:
+6
-4
@@ -6,8 +6,10 @@ using namespace matrix;
|
||||
|
||||
int main()
|
||||
{
|
||||
Vector<float, 5> v;
|
||||
float n = v.norm();
|
||||
float r = v.dot(v);
|
||||
return 0;
|
||||
Vector<float, 5> v;
|
||||
float n = v.norm();
|
||||
(void)n;
|
||||
float r = v.dot(v);
|
||||
(void)r;
|
||||
return 0;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user