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/pmeasure.c

    r16856 r19823  
    187187    for (i = 0; i < catalog.Naverage; i++) {
    188188      if (IDclip && (catalog.average[i].code != IDchoice)) continue;
     189      catalog.average[i].R = ohana_normalize_angle (catalog.average[i].R);
    189190      while (catalog.average[i].R < Rmin) catalog.average[i].R += 360.0;
    190191      while (catalog.average[i].R > Rmax) catalog.average[i].R -= 360.0;
Note: See TracChangeset for help on using the changeset viewer.