IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Mar 2, 2009, 10:14:15 AM (17 years ago)
Author:
Paul Price
Message:

Since we're now writing a covariance matrix to the end of the variance image, they have no longer been identified as 'SingleCompressedImagePHU' because there's more than one extension. Realised that this is not what this function is supposed to check, but merely whether the PHU is a dummy.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psLib/src/fits/psFitsImage.c

    r21535 r22729  
    219219    PS_ASSERT_FITS_NON_NULL(fits, NULL);
    220220
    221     if (psFitsCheckSingleCompressedImagePHU(fits, NULL)) {
     221    if (psFitsCheckCompressedImagePHU(fits, NULL)) {
    222222        // This is really what we want, not the empty PHU
    223223        psTrace("psLib.fits", 1,
     
    432432    PS_ASSERT_INT_NONNEGATIVE(z, NULL);
    433433
    434     if (psFitsCheckSingleCompressedImagePHU(fits, NULL)) {
     434    if (psFitsCheckCompressedImagePHU(fits, NULL)) {
    435435        // This is really what we want, not the empty PHU
    436436        psTrace("psLib.fits", 1,
     
    479479    }
    480480
    481     if (psFitsCheckSingleCompressedImagePHU(fits, NULL)) {
     481    if (psFitsCheckCompressedImagePHU(fits, NULL)) {
    482482        // This is really what we want, not the empty PHU
    483483        psTrace("psLib.fits", 1,
     
    873873    // code replication, and should be sufficient for our needs.
    874874
    875     if (psFitsCheckSingleCompressedImagePHU(fits, NULL)) {
     875    if (psFitsCheckCompressedImagePHU(fits, NULL)) {
    876876        // This is really what we want, not the empty PHU
    877877        psTrace("psLib.fits", 1,
Note: See TracChangeset for help on using the changeset viewer.