IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Sep 10, 2020, 9:40:15 AM (6 years ago)
Author:
eugene
Message:

gDiff now runs and does not crash on forced photometry

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/eam_branches/gDiff.20200202/src/gDiffExit.c

    r41260 r41413  
    1 #include <stdio.h>
    2 #include <pslib.h>
    3 #include <psphotErrorCodes.h>
     1/** @file gDiffExit.c
     2 *  @brief: image subtraction based on matched Gaussians profiles
     3 *  @author Eugene Magnier @ IfA
     4 *  @version $Revision: 1.12 $
     5 *  @date $Date: 2020-01-25 $
     6 *  Copyright 2020 Institute for Astronomy, University of Hawaii
     7 */
    48
    59#include "gDiff.h"
     
    1620    // not include the possible psphot values
    1721
    18     // for now, to get around this, we just use an int for the switch
     22    // thus, we cannot do this:
     23    // psErrorCode errorCode = psErrorCodeLast(); // Error code
    1924
    20     // psErrorCode errorCode = psErrorCodeLast(); // Error code
     25    // for now, to get around this, we just use an int for the switch:
    2126    int errorCode = psErrorCodeLast(); // Error code
     27
    2228    if (errorCode != PS_ERR_NONE) {
    2329        pmFPAfileFreeSetStrict(false);
Note: See TracChangeset for help on using the changeset viewer.