Changeset 29845
- Timestamp:
- Nov 26, 2010, 10:37:36 AM (15 years ago)
- Location:
- branches/eam_branches/ipp-20101103/Ohana/src
- Files:
-
- 3 edited
-
opihi/dvo/find_matches.c (modified) (1 diff)
-
relphot/src/SetSignals.c (modified) (1 diff)
-
relphot/src/load_catalogs.c (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
branches/eam_branches/ipp-20101103/Ohana/src/opihi/dvo/find_matches.c
r29123 r29845 80 80 /* build spatial index (RA sort) referencing input array sequence */ 81 81 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; 83 85 N1[i] = i; 84 86 if (index[i] == -1) continue; -
branches/eam_branches/ipp-20101103/Ohana/src/relphot/src/SetSignals.c
r13322 r29845 15 15 return; 16 16 } 17 Shutdown (" halted by signal (trapped)");17 Shutdown ("%s","halted by signal (trapped)"); 18 18 } 19 19 20 20 void SetProtect (int mode) { 21 21 Protect = mode; 22 if (Trapped && !Protect) Shutdown (" halted by signal (protect)");22 if (Trapped && !Protect) Shutdown ("%s","halted by signal (protect)"); 23 23 } 24 24 -
branches/eam_branches/ipp-20101103/Ohana/src/relphot/src/load_catalogs.c
r28241 r29845 47 47 48 48 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 52 51 53 52 // XXX consider only returning the populated catalogs
Note:
See TracChangeset
for help on using the changeset viewer.
