Skip to content

Commit

Permalink
AP_Math: don't inline
Browse files Browse the repository at this point in the history
  • Loading branch information
andyp1per committed Jan 29, 2025
1 parent 1cc03bd commit af8f347
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libraries/AP_Math/polygon.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,7 @@ float Polygon_closest_distance_line(const Vector2f *V, unsigned N, const Vector2
const ftype EARTH_RADIUS_METERS = 6378137.0; // Earth's radius in meters (WGS84)

// Converts 1e7 degrees to radians
static inline ftype to_radians(ftype degrees_1e7)
static ftype to_radians(ftype degrees_1e7)
{
return radians(degrees_1e7 / 1.0e7);
}
Expand Down

0 comments on commit af8f347

Please sign in to comment.