Skip to content

Commit

Permalink
[algorithms][detail] Fix compile error in azimuth() using vincenty fo…
Browse files Browse the repository at this point in the history
…rmula.
  • Loading branch information
awulkiew committed Jun 20, 2016
1 parent b9c1456 commit 2442cdd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/boost/geometry/algorithms/detail/azimuth.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ struct azimuth<ReturnType, geographic_tag>
template <typename P1, typename P2, typename Spheroid>
static inline ReturnType apply(P1 const& p1, P2 const& p2, Spheroid const& spheroid)
{
return geometry::detail::vincenty_inverse<ReturnType, false, true>
return geometry::detail::vincenty_inverse<ReturnType, false, true>().apply
( get_as_radian<0>(p1), get_as_radian<1>(p1),
get_as_radian<0>(p2), get_as_radian<1>(p2),
spheroid ).azimuth;
Expand Down

0 comments on commit 2442cdd

Please sign in to comment.