Changeset 33242
- Timestamp:
- Feb 10, 2012, 2:10:21 PM (14 years ago)
- Location:
- branches/eam_branches/ipp-20111122/Ohana/src/uniphot/src
- Files:
-
- 2 edited
-
ImageSubset.c (modified) (3 diffs)
-
update_dvo_setphot_client.c (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
branches/eam_branches/ipp-20111122/Ohana/src/uniphot/src/ImageSubset.c
r33241 r33242 69 69 // XXX free the fits table data here 70 70 71 ALLOCATE (image, ImageSubset, N col);71 ALLOCATE (image, ImageSubset, Nrow); 72 72 for (i = 0; i < Nrow; i++) { 73 73 image[i].imageID = imageID[i]; … … 77 77 image[i].dMcal = dMcal[i]; 78 78 } 79 fprintf (stderr, "loaded data for % d images\n", Ncol);79 fprintf (stderr, "loaded data for %lld images\n", (long long) Nrow); 80 80 81 81 free (Mcal); … … 85 85 free (flags); 86 86 87 *nimage = N col;87 *nimage = Nrow; 88 88 return image; 89 89 } -
branches/eam_branches/ipp-20111122/Ohana/src/uniphot/src/update_dvo_setphot_client.c
r33241 r33242 17 17 } 18 18 ALLOCATE (index, off_t, maxID + 1); 19 for (i = 0; i < maxID + 1; i++) { 20 index[i] = -1; 21 } 19 22 for (i = 0; i < Nimage; i++) { 20 23 if (!image[i].imageID) continue; // images with ID == 0 are virtual
Note:
See TracChangeset
for help on using the changeset viewer.
