IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Aug 20, 2005, 6:15:05 AM (21 years ago)
Author:
eugene
Message:

replacing Fread with fits_convert for autocode structures

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Ohana/src/opihi/dvo/detrend.c

    r4689 r4849  
    101101    return (FALSE);
    102102  }
     103  fprintf (stderr, "  this function is not well-defined.  re-work and re-code\n");
     104  return (FALSE);
    103105 
    104106  /* identify selection */
     
    136138  fits_scan (&header, "NIMAGES", "%d", 1, &Nimage);
    137139  ALLOCATE (pimage, RegImage, Nimage);
    138   status = Fread (pimage, sizeof(RegImage), Nimage, f, "regimage");
     140  status = fread (pimage, sizeof(RegImage), Nimage, f);
    139141  fclose (f);
    140142
     
    145147    return (FALSE);
    146148  }
     149  fits_convert_RegImage (pimage, sizeof (RegImage), Nimage);
    147150
    148151  N = 0;
Note: See TracChangeset for help on using the changeset viewer.