Changeset 6683 for trunk/Ohana/src/gastro/src/gptolemy.c
- Timestamp:
- Mar 26, 2006, 10:46:32 AM (20 years ago)
- File:
-
- 1 edited
-
trunk/Ohana/src/gastro/src/gptolemy.c (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Ohana/src/gastro/src/gptolemy.c
r5320 r6683 16 16 catalog.filename = filename; 17 17 switch (lock_catalog (&catalog, LCK_SOFT)) { 18 case 0:19 case 2:20 fprintf (stderr, "can't load catalog data\n");21 return (FALSE);22 case 1:23 break;18 case 0: 19 case 2: 20 fprintf (stderr, "can't load catalog data\n"); 21 return (FALSE); 22 case 1: 23 break; 24 24 } 25 25 … … 44 44 /* select all entries, ignore magnitudes */ 45 45 for (i = 0; i < catalog.Naverage; i++, nstar++) { 46 stars[0][nstar].X = catalog.average[i].R _PS;47 stars[0][nstar].Y = catalog.average[i].D _PS;46 stars[0][nstar].X = catalog.average[i].R; 47 stars[0][nstar].Y = catalog.average[i].D; 48 48 stars[0][nstar].mag = catalog.measure[catalog.average[i].offset].M_PS; 49 49 } … … 52 52 # if (0) 53 53 for (i = 0; i < catalog.Naverage; i++, nstar++) { 54 stars[0][nstar].X = catalog.average[i].R _PS;55 stars[0][nstar].Y = catalog.average[i].D _PS;54 stars[0][nstar].X = catalog.average[i].R; 55 stars[0][nstar].Y = catalog.average[i].D; 56 56 GotIt = FALSE; 57 if (catalog.average[i].M _PS!= NO_MAG) {58 stars[0][nstar].mag = catalog.average[i].M _PS;57 if (catalog.average[i].M != NO_MAG) { 58 stars[0][nstar].mag = catalog.average[i].M; 59 59 GotIt = TRUE; 60 60 }
Note:
See TracChangeset
for help on using the changeset viewer.
