IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 29845


Ignore:
Timestamp:
Nov 26, 2010, 10:37:36 AM (15 years ago)
Author:
eugene
Message:

merge updates from trunk

Location:
branches/eam_branches/ipp-20101103/Ohana/src
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • branches/eam_branches/ipp-20101103/Ohana/src/opihi/dvo/find_matches.c

    r29123 r29845  
    8080  /* build spatial index (RA sort) referencing input array sequence */
    8181  for (i = 0; i < Npoints; i++) {
    82     X1[i] = Y1[i] = NAN;
     82    // we need to have a finite number for the sort below; index == -1 entries are skipped
     83    // in the matching process
     84    X1[i] = Y1[i] = 0.0;
    8385    N1[i] = i;
    8486    if (index[i] == -1) continue;
  • branches/eam_branches/ipp-20101103/Ohana/src/relphot/src/SetSignals.c

    r13322 r29845  
    1515      return;
    1616    }
    17     Shutdown ("halted by signal (trapped)");
     17    Shutdown ("%s","halted by signal (trapped)");
    1818}   
    1919
    2020void SetProtect (int mode) {
    2121  Protect = mode;
    22   if (Trapped && !Protect) Shutdown ("halted by signal (protect)");
     22  if (Trapped && !Protect) Shutdown ("%s","halted by signal (protect)");
    2323}
    2424
  • branches/eam_branches/ipp-20101103/Ohana/src/relphot/src/load_catalogs.c

    r28241 r29845  
    4747
    4848  fprintf (stderr, "using %d of %d stars (%d of %d measurements)\n", Nstar, Nstar_total, Nmeas, Nmeas_total);
    49   if (Nstar < 1) {
    50       Shutdown ("ERROR: no stars match the minimum requirements; exiting\n");
    51   }
     49  if (Nstar < 1) Shutdown ("%s", "ERROR: no stars match the minimum requirements; exiting \n");
     50   
    5251
    5352  // XXX consider only returning the populated catalogs
Note: See TracChangeset for help on using the changeset viewer.