Skip to content

Commit f24d604

Browse files
committed
Merge remote-tracking branch 'origin/develop' into feature/uniform_point_distribution
2 parents f247803 + e3fc7ca commit f24d604

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

include/boost/geometry/strategies/spherical/point_in_point.hpp

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -96,8 +96,10 @@ class point_point_on_spheroid
9696
Point1, calculation_type, radian
9797
>::type helper_point1, helper_point2;
9898

99-
Point1 point1_normalized = return_normalized<Point1>(point1);
100-
Point2 point2_normalized = return_normalized<Point2>(point2);
99+
Point1 point1_normalized;
100+
strategy::normalize::spherical_point::apply(point1, point1_normalized);
101+
Point2 point2_normalized;
102+
strategy::normalize::spherical_point::apply(point2, point2_normalized);
101103

102104
geometry::transform(point1_normalized, helper_point1);
103105
geometry::transform(point2_normalized, helper_point2);

0 commit comments

Comments
 (0)