Skip to content

Commit

Permalink
Update FindEventsSameAreaSelectionListener.java
Browse files Browse the repository at this point in the history
  • Loading branch information
albertus82 authored Jan 11, 2024
1 parent 45bbcde commit cd584f7
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ private static double computeArea(final double lat0deg, final double lat1deg, fi
final double lon1rad = Math.toRadians(lon1deg);
final double a = Math.sin(lat1rad) - Math.sin(lat0rad);
final double b = lon1rad - lon0rad;
final double c = Math.pow(AUTHALIC_RADIUS, 2);
final double c = AUTHALIC_RADIUS * AUTHALIC_RADIUS;
return a * b * c;
}

Expand Down

0 comments on commit cd584f7

Please sign in to comment.