Skip to content

Commit 79674b4

Browse files
committed
Fix
1 parent 3e4f042 commit 79674b4

File tree

1 file changed

+1
-1
lines changed
  • src/NetFabric.Numerics.Geography/Geodetic2

1 file changed

+1
-1
lines changed

src/NetFabric.Numerics.Geography/Geodetic2/Point.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@ public static TAngle DistanceSphere<TDatum, TAngle>(Point<TDatum, Radians, TAngl
148148
Angle.Sin(halfLongitudeDifference) * Angle.Sin(halfLongitudeDifference));
149149
var c = TAngle.CreateChecked(2) * Angle.Atan2(TAngle.Sqrt(a), TAngle.Sqrt(TAngle.One - a));
150150

151-
return TAngle.CreateChecked(MedianRadius(TDatum.Ellipsoid)) * c.Value;
151+
return TAngle.CreateChecked(Ellipsoid.ArithmeticMeanRadius(TDatum.Ellipsoid)) * c.Value;
152152
}
153153

154154
/// <summary>

0 commit comments

Comments
 (0)