IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 40385 for trunk


Ignore:
Timestamp:
Apr 9, 2018, 8:46:01 AM (8 years ago)
Author:
eugene
Message:

skip galaxy models with bad IDs

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Ohana/src/addstar/src/loadgalphot_readstars.c

    r39542 r40385  
    241241
    242242    int ifit = idx_gal[i];
    243     if (ifit < 0) { Nbad ++; continue; } // skip galaxy models with bad IDs
     243    if (ifit < 0) {
     244      fprintf (stderr, "%d %f %f %d\n", i, X_FIT[i], Y_FIT[i], MODEL_TYPE_gal[i]);
     245      Nbad ++;
     246      continue;
     247    } // skip galaxy models with bad IDs
    244248
    245249    double R, D;
Note: See TracChangeset for help on using the changeset viewer.