Skip to content

Commit

Permalink
AP_Math: fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
andyp1per committed Jan 29, 2025
1 parent 1010255 commit 1cc03bd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libraries/AP_Math/tests/test_polygon.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -307,7 +307,7 @@ TEST(Polygon, obc)
#define TEST_POLYGON_DISTANCE_POINTS(POLYGON, TEST_POINTS) \
do { \
for (uint32_t i = 0; i < ARRAY_SIZE(TEST_POINTS); i++) { \
ftype distance;
ftype distance; \
Polygon_closest_distance_point(POLYGON, \
ARRAY_SIZE(POLYGON),\
TEST_POINTS[i].point, distance);\
Expand Down

0 comments on commit 1cc03bd

Please sign in to comment.