Changeset 31547
- Timestamp:
- May 12, 2011, 4:50:51 PM (15 years ago)
- Location:
- branches/eam_branches/ipp-20110505/Ohana/src
- Files:
-
- 2 edited
-
libohana/test/typetest.c (modified) (1 diff)
-
relastro/src/load_images.c (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
branches/eam_branches/ipp-20110505/Ohana/src/libohana/test/typetest.c
r31160 r31547 74 74 75 75 big_value = 10; 76 fprintf (stderr, "this is a bit int: "OFF_T_FMT" n'est pas?\n", big_value); 76 fprintf (stderr, "this is a big int: "OFF_T_FMT" n'est pas?\n", big_value); 77 78 // we could move the % out of the FMT and allow constructions like this: 79 // # define OFF_T_FMT "jd" 80 // fprintf (stderr, "this is a big int: %06"OFF_T_FMT_ALT" n'est pas?\n", big_value); 81 // still kind of ugly... 77 82 78 83 exit (status); -
branches/eam_branches/ipp-20110505/Ohana/src/relastro/src/load_images.c
r29001 r31547 44 44 MARKTIME(" select images: %f sec\n", dtime); 45 45 46 gfits_vtable_from_ftable (&db[0].ftable, &db[0].vtable, LineNumber, Nsubset); 46 // generate db->vtable from db->ftable based on the selection 47 // XXX does this simply duplicate the memory needlessly? we recreate these lines 48 // in reload_images. If we had saved the line numbers, we could avoid this 49 // vtable points *another* copy of the subset rows 50 // (the later call to 'reload_images' copies the subset elements back on top of 51 // the rows of the vtable) 52 // gfits_vtable_from_ftable (&db[0].ftable, &db[0].vtable, LineNumber, Nsubset); 53 // MARKTIME("converted ftable to vtable: %f sec\n", dtime); 47 54 48 55 initImages (subset, Nsubset);
Note:
See TracChangeset
for help on using the changeset viewer.
