IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Aug 23, 2005, 8:55:22 PM (21 years ago)
Author:
eugene
Message:

converted to the libohana/dvo_image I/O routines; improvements in fits_db.c

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Ohana/src/imregister/imphot/modify.c

    r4024 r4864  
    55
    66  int i, j;
    7   VTable vtable;
    87
    98  /* modify the selected entries */
     
    2928
    3029  /** we may later want to pull this out and put it elsewhere **/
    31   fits_vtable_from_ftable (&db[0].ftable, &vtable, match, Nmatch);
     30  fits_vtable_from_ftable (&db[0].ftable, &db[0].vtable, match, Nmatch);
    3231  for (i = 0; i < Nmatch; i++) {
    33     fits_convert_Image ((Image *) vtable.buffer[i], sizeof (Image), 1);
     32    fits_convert_Image ((Image *) db[0].vtable.buffer[i], sizeof (Image), 1);
    3433  }
    35   fits_db_update (db, &vtable);
     34  fits_db_update (db);
    3635  fits_db_close (db);
    3736  fits_db_free (db);
Note: See TracChangeset for help on using the changeset viewer.