mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-06 15:58:52 +08:00
Merge pull request #2676 from nghiaho12/fix_double_promotion
Fixed double promotion warning when doing printf in Vector.hpp
This commit is contained in:
@@ -353,7 +353,7 @@ public:
|
||||
printf("[ ");
|
||||
|
||||
for (unsigned int i = 0; i < N; i++)
|
||||
printf("%.3f\t", data[i]);
|
||||
printf("%.3f\t", (double)data[i]);
|
||||
|
||||
printf("]\n");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user