IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 11306


Ignore:
Timestamp:
Jan 25, 2007, 6:50:20 PM (19 years ago)
Author:
eugene
Message:

fixed return and error states

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psphot/src/psphotChoosePSF.c

    r11263 r11306  
    6767        if (!psfTrendMask) {
    6868            psError(PSPHOT_ERR_PSF, true, "Unable to construct polynomial from PSF.TREND.MASK in the recipe");
    69             return false;
     69            return NULL;
    7070        }
    7171    }
     
    141141    // use the best model:
    142142    if (bestN < 0) {
    143         psError(PSPHOT_ERR_PSF, false, "Failed to fit any models when choosing PSF");
     143        psError (PSPHOT_ERR_DATA, false, "Failed to fit any models when choosing PSF");
    144144        psFree (models);
    145145        return NULL;
Note: See TracChangeset for help on using the changeset viewer.