IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 6382


Ignore:
Timestamp:
Feb 8, 2006, 11:30:34 AM (20 years ago)
Author:
gusciora
Message:

Tests for psPlaneAlloc() psPlaneFree().
Initialized the members of psPlane.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psLib/src/astro/psCoord.c

    r6346 r6382  
    1010*  @author GLG, MHPCC
    1111*
    12 *  @version $Revision: 1.106 $ $Name: not supported by cvs2svn $
    13 *  @date $Date: 2006-02-07 23:14:21 $
     12*  @version $Revision: 1.107 $ $Name: not supported by cvs2svn $
     13*  @date $Date: 2006-02-08 21:30:34 $
    1414*
    1515*  Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii
     
    177177}
    178178
    179 // XXX: Must test psPlaneAlloc() and planeFree().
    180179// XXX: Must rewrite code and tests to use these functions.
    181180psPlane* psPlaneAlloc(void)
     
    183182    psPlane *p = psAlloc(sizeof(psPlane));
    184183    psMemSetDeallocator(p, (psFreeFunc) planeFree);
     184
     185    p->x = NAN;
     186    p->y = NAN;
     187    p->xErr = NAN;
     188    p->yErr = NAN;
    185189
    186190    return(p);
Note: See TracChangeset for help on using the changeset viewer.