IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 9269


Ignore:
Timestamp:
Oct 4, 2006, 3:14:03 PM (20 years ago)
Author:
eugene
Message:

putting include config.h in psphot.h where it belongs

Location:
trunk/psphot/src
Files:
4 edited

Legend:

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

    r8817 r9269  
    7272        // XXX need to put this in the config data...
    7373        // if (fabs(apResid->data.F64[Npsf]) > 0.2) continue;
    74         if (fabs(apResid->data.F64[Npsf]) > MAX_AP_OFFSET) {
     74        if ((MAX_AP_OFFSET > 0) && (fabs(apResid->data.F64[Npsf]) > MAX_AP_OFFSET)) {
    7575            Nfail ++;
    7676            continue;
  • trunk/psphot/src/psphotImageLoop.c

    r8780 r9269  
    1 #ifdef HAVE_CONFIG_H
    2 #include <config.h>
    3 #endif
    4 
    51# include "psphot.h"
    62
  • trunk/psphot/src/psphotReadout.c

    r8780 r9269  
    9696    // measure aperture photometry corrections
    9797    if (!psphotApResid (readout, sources, recipe, psf)) {
     98        psTrace ("psphotReadout", 4, "failure on psphotApResid");
    9899        psError(PSPHOT_ERR_PHOTOM, false, "Measure aperture photometry corrections");
     100        psphotReadoutCleanup (config, readout, recipe, psf, sources);
    99101        return false;
    100102    }
  • trunk/psphot/src/psphotVersion.c

    r8780 r9269  
    1 #ifdef HAVE_CONFIG_H
    2 #include <config.h>
    3 #endif
    4 
    51#include "psphot.h"
    62
Note: See TracChangeset for help on using the changeset viewer.