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/spreg/modify.c

    r3509 r4864  
    66  int i, j, Nold;
    77  char *tmppath;
    8   VTable vtable;
    98
    109  Nold = 0;
     
    3938
    4039  /** we may later want to pull this out and put it elsewhere **/
    41   fits_vtable_from_ftable (&db[0].ftable, &vtable, match, Nmatch);
     40  fits_vtable_from_ftable (&db[0].ftable, &db[0].vtable, match, Nmatch);
    4241  for (i = 0; i < Nmatch; i++) {
    43     fits_convert_Spectrum ((Spectrum *) vtable.buffer[i], sizeof (Spectrum), 1);
     42    fits_convert_Spectrum ((Spectrum *) db[0].vtable.buffer[i], sizeof (Spectrum), 1);
    4443  }
    45   fits_db_update (db, &vtable);
     44  fits_db_update (db);
    4645  fits_db_close (db);
    4746  fits_db_free (db);
Note: See TracChangeset for help on using the changeset viewer.