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/math/psConstants.h

    r6437 r6484  
    66 *  @author GLG, MHPCC
    77 *
    8  *  @version $Revision: 1.85 $ $Name: not supported by cvs2svn $
    9  *  @date $Date: 2006-02-17 00:56:48 $
     8 *  @version $Revision: 1.86 $ $Name: not supported by cvs2svn $
     9 *  @date $Date: 2006-02-24 23:43:15 $
    1010 *
    1111 *  Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii
     
    312312if (VEC->n != SIZE) { \
    313313    psError(PS_ERR_BAD_PARAMETER_SIZE, true, \
    314             "psVector %s has size %d, should be %d." \
     314            "psVector %s has size %d, should be %d.", \
    315315            #VEC, VEC->n, SIZE); \
    316316    return(RVAL); \
Note: See TracChangeset for help on using the changeset viewer.