IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Nov 3, 2004, 3:05:00 PM (22 years ago)
Author:
desonia
Message:

changed the psError signature to match SDRS. Also made misc. cleanups as
I was combing the files.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psLib/src/astronomy/psAstrometry.c

    r2222 r2273  
    88 *  @author George Gusciora, MHPCC
    99 *
    10  *  @version $Revision: 1.49 $ $Name: not supported by cvs2svn $
    11  *  @date $Date: 2004-10-27 23:49:00 $
     10 *  @version $Revision: 1.50 $ $Name: not supported by cvs2svn $
     11 *  @date $Date: 2004-11-04 01:04:57 $
    1212 *
    1313 *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
     
    2525#include "psError.h"
    2626#include "psConstants.h"
     27#include "psAstronomyErrors.h"
     28
    2729#include "slalib.h"
    2830
     
    868870    // generate an error if cell->toTP is not linear.
    869871    if (0 == isProjectionLinear(cell->toTP)) {
    870         psError(__func__, "the cell->toTP transfrom is not linear.\n");
     872        psError(PS_ERR_BAD_PARAMETER_TYPE, true,
     873                PS_ERRORTEXT_psAstrometry_NONLINEAR_TRANSFORM,
     874                "cell to tangent plane");
    871875    }
    872876
Note: See TracChangeset for help on using the changeset viewer.