IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Dec 29, 2004, 11:18:33 AM (22 years ago)
Author:
gusciora
Message:

Improving the tests and error condition code.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psModules/src/pmSubtractSky.c

    r2838 r2845  
    66 *  @author GLG, MHPCC
    77 *
    8  *  @version $Revision: 1.13 $ $Name: not supported by cvs2svn $
    9  *  @date $Date: 2004-12-28 19:04:29 $
     8 *  @version $Revision: 1.14 $ $Name: not supported by cvs2svn $
     9 *  @date $Date: 2004-12-29 21:18:33 $
    1010 *
    1111 *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
     
    423423    psTrace(".psModule.pmSubtractSky", 4,
    424424            "---- pmSubtractSky() begin ----\n");
     425    if ((fit != PM_FIT_NONE) &&
     426            (fit != PM_FIT_POLYNOMIAL) &&
     427            (fit != PM_FIT_SPLINE)) {
     428        psError(PS_ERR_UNKNOWN, true, "psFit is unallowable (%d)\n", fit);
     429        return(in);
     430    }
     431
    425432    psStatsOptions statOptions = 0;
    426433
Note: See TracChangeset for help on using the changeset viewer.