IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Oct 2, 2008, 8:08:31 AM (18 years ago)
Author:
eugene
Message:

replace poor code with ohana_normalize_angle

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Ohana/src/opihi/dvo/gstar.c

    r19534 r19823  
    7575  Radius = atof (argv[3]);
    7676
    77   while (Ra < 0.0) Ra += 360.0;
    78   while (Ra > 360.0) Ra -= 360.0;
     77  Ra = ohana_normalize_angle (Ra);
    7978 
    8079  /* load sky from correct table */
Note: See TracChangeset for help on using the changeset viewer.