Changeset 36571
- Timestamp:
- Feb 28, 2014, 6:42:12 AM (12 years ago)
- Location:
- branches/eam_branches/ipp-20140206/Ohana/src/relastro/src
- Files:
-
- 2 edited
-
MosaicOps.c (modified) (1 diff)
-
assign_images.c (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
branches/eam_branches/ipp-20140206/Ohana/src/relastro/src/MosaicOps.c
r36570 r36571 270 270 for (j = 0; j < host->Nimages; j++) { 271 271 272 int Nim = host->imageSeq[j]; 273 if (Nim 274 275 int mos = mosaic_for_images[Nim]; 276 277 } 278 279 } 272 int im = host->imseq[j]; 273 274 if (im < 0) abort(); 275 if (im >= Nmosaic_for_images) abort(); 276 277 // search for the mosaic that 278 off_t mos = mosaic_for_images[im]; 279 if (mos < 0) return NULL; 280 281 // &mosaic[mos]; 282 // XXX do what? 283 } 284 285 } 286 -
branches/eam_branches/ipp-20140206/Ohana/src/relastro/src/assign_images.c
r36569 r36571 57 57 regionHosts->hosts[i].NIMAGE = D_NIMAGE; 58 58 ALLOCATE (regionHosts->hosts[i].image, Image, regionHosts->hosts[i].NIMAGE); 59 ALLOCATE (regionHosts->hosts[i].imseq, off_t, regionHosts->hosts[i].NIMAGE); 59 60 } 60 61 … … 129 130 off_t Nsubset = regionHosts->hosts[i].Nimage; 130 131 regionHosts->hosts[i].image[Nsubset] = image[j]; 131 // regionHosts->hosts[i].line_number[Nsubset] = j;132 regionHosts->hosts[i].imseq[Nsubset] = j; 132 133 133 134 regionHosts->hosts[i].Nimage ++; … … 253 254 return -1; 254 255 } 255
Note:
See TracChangeset
for help on using the changeset viewer.
