IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 29715


Ignore:
Timestamp:
Nov 8, 2010, 6:26:40 PM (16 years ago)
Author:
eugene
Message:

fix reporting bug in dvorepair

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/eam_branches/ipp-20101103/Ohana/src/dvomerge/src/dvorepair.c

    r29714 r29715  
    165165  Nbad = 0;
    166166  for (i = 0; i < Nimage; i++) {
    167     if (detCounts[i] < image[i].nstar - Ntol) {
    168       fprintf (stdout, "image %s : %d vs %d\n", image[i].name, detCounts[i], image[i].nstar);
     167    // careful: off_t math does not do well with subtractions...
     168    if (detCounts[i] + Ntol < image[i].nstar) {
     169      fprintf (stdout, "image %s (%d) : %d vs %d\n", image[i].name, image[i].imageID, detCounts[i], image[i].nstar);
    169170      Nbad ++;
    170171    }
Note: See TracChangeset for help on using the changeset viewer.