Skip to content

Commit

Permalink
Type
Browse files Browse the repository at this point in the history
Signed-off-by: Cédric Foellmi <[email protected]>
  • Loading branch information
onekiloparsec committed Aug 24, 2024
1 parent 38a8a94 commit 3fa6c2e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/coordinates/angles.ts
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ export function getParallacticAngle (jd: JulianDay, equCoords: EquatorialCoordin
* @param {EquatorialCoordinates} coords2
* @returns {Degree}
*/
export function getGreatCircleAngularDistance (coords1: EquatorialCoordinates, coords2: EquatorialCoordinates) {
export function getGreatCircleAngularDistance (coords1: EquatorialCoordinates, coords2: EquatorialCoordinates): Degree {
const alpha1 = coords1.rightAscension * DEG2RAD
const alpha2 = coords2.rightAscension * DEG2RAD
const delta1 = coords1.declination * DEG2RAD
Expand Down

0 comments on commit 3fa6c2e

Please sign in to comment.