IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Nov 7, 2007, 6:28:03 PM (19 years ago)
Author:
eugene
Message:

converted internal NO_MAG and NO_ERR to NAN, NAN_S_SHORT, etc as appropriate

File:
1 edited

Legend:

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

    r14590 r15509  
    9393
    9494      /* find data for filter 2 (REF) */
    95       M2 = NO_MAG;
    96       dM2 = NO_MAG;
     95      M2 = NAN;
     96      dM2 = NAN;
    9797      for (j = 0; j < catalog.average[i].Nm; j++) {
    9898        if (catalog.measure[m+j].photcode != code[1][0].code) continue;
     
    100100        dM2 = catalog.measure[m+j].dM;
    101101      }
    102       if (M2 == NO_MAG) continue;
     102      if (isnan(M2)) continue;
    103103     
    104104      /* find data for filter 1 */
Note: See TracChangeset for help on using the changeset viewer.