Skip to content

Commit

Permalink
Fix embarassing typo
Browse files Browse the repository at this point in the history
  • Loading branch information
James-E-A committed Jan 26, 2021
1 parent b19b59b commit c844832
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion latlon-ellipsoidal-vincenty.js
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,7 @@ class LatLonEllipsoidal_Vincenty extends LatLonEllipsoidal {
const cosSqα = 1 - sinα*sinα;
const uSq = cosSqα * (a*a - b*b) / (b*b);
const A = (((uSq*-175 + 320)*uSq - 768)*uSq + 4096)*uSq/16384 + 1;
const B = (((uSq*-47 + 74)*uSq - 128)*uSq + 256)*uSq/1024 + 1;
const B = (((uSq*-47 + 74)*uSq - 128)*uSq + 256)*uSq/1024;

let σ = s / (b*A), sinσ = null, cosσ = null, Δσ = null; // σ = angular distance P₁ P₂ on the sphere
let cos2σₘ = null; // σₘ = angular distance on the sphere from the equator to the midpoint of the line
Expand Down

0 comments on commit c844832

Please sign in to comment.