IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 40650 for trunk


Ignore:
Timestamp:
Mar 27, 2019, 6:30:23 AM (7 years ago)
Author:
eugene
Message:

filter out nan values

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Ohana/src/opihi/cmd.data/match2d.c

    r39926 r40650  
    176176    I = N1[i];
    177177    J = N2[j];
     178
     179    if (!isfinite(X1->elements.Flt[I])) { i++; continue; }
     180    if (!isfinite(X2->elements.Flt[J])) { j++; continue; }
    178181
    179182    dX = X1->elements.Flt[I] - X2->elements.Flt[J];
Note: See TracChangeset for help on using the changeset viewer.