IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 29439


Ignore:
Timestamp:
Oct 15, 2010, 4:51:00 PM (16 years ago)
Author:
rhenders
Message:

Quick-fix for 0/360 RA boundary problem

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Ohana/src/libdvo/src/skyregion_ops.c

    r27435 r29439  
    195195    Dmin = MIN (Dmin, d);
    196196    Dmax = MAX (Dmax, d);
     197  }
     198
     199  if( Rmax > (Rmin+180.)) {
     200   
     201      double temp = Rmax;
     202      Rmax = Rmin;
     203      Rmin = temp;
    197204  }
    198205
Note: See TracChangeset for help on using the changeset viewer.