IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Feb 24, 2006, 1:43:16 PM (20 years ago)
Author:
drobbin
Message:

Changed psArray & psVector to zero 'n' upon allocation. Used to set vector->n = nalloc.

File:
1 edited

Legend:

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

    r6445 r6484  
    1010*  @author GLG, MHPCC
    1111*
    12 *  @version $Revision: 1.117 $ $Name: not supported by cvs2svn $
    13 *  @date $Date: 2006-02-17 03:24:46 $
     12*  @version $Revision: 1.118 $ $Name: not supported by cvs2svn $
     13*  @date $Date: 2006-02-24 23:43:15 $
    1414*
    1515*  Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii
     
    760760    for (psS32 g = 0; g < numCoords; g++) {
    761761        xIn->data.F64[g] = ((psPlane *) source->data[g])->x;
     762        xIn->n++;
    762763        yIn->data.F64[g] = ((psPlane *) source->data[g])->y;
     764        yIn->n++;
    763765        xOut->data.F64[g] = ((psPlane *) dest->data[g])->x;
     766        xOut->n++;
    764767        yOut->data.F64[g] = ((psPlane *) dest->data[g])->y;
     768        yOut->n++;
    765769    }
    766770
Note: See TracChangeset for help on using the changeset viewer.