IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 24747


Ignore:
Timestamp:
Jul 11, 2009, 9:45:20 AM (17 years ago)
Author:
eugene
Message:

boundaries are not inclusive

File:
1 edited

Legend:

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

    r19823 r24747  
    266266
    267267  for (i = Ns; (i < Ne) && (i < table[0].Nregions); i++) {
    268     if (Rmax < region[i].Rmin) continue;
    269     if (Rmin > region[i].Rmax) continue;
    270     if (Dmax < region[i].Dmin) continue;
    271     if (Dmin > region[i].Dmax) continue;
     268    if (Rmax <= region[i].Rmin) continue;
     269    if (Rmin >= region[i].Rmax) continue;
     270    if (Dmax <= region[i].Dmin) continue;
     271    if (Dmin >= region[i].Dmax) continue;
    272272
    273273    if ((depth > region[i].depth) && (region[i].child == FALSE)) continue;
Note: See TracChangeset for help on using the changeset viewer.