IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jun 28, 2005, 10:17:52 AM (21 years ago)
Author:
drobbin
Message:

updated files in accordance with requested revisions in apidelta-report-cycle6

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psLib/src/collections/psScalar.c

    r4330 r4409  
    88 *  @author Ross Harman, MHPCC
    99 *
    10  *  @version $Revision: 1.15 $ $Name: not supported by cvs2svn $
    11  *  @date $Date: 2005-06-21 03:01:37 $
     10 *  @version $Revision: 1.16 $ $Name: not supported by cvs2svn $
     11 *  @date $Date: 2005-06-28 20:17:52 $
    1212 *
    1313 *  Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii
     
    2222#include "psCollectionsErrors.h"
    2323
    24 psScalar* psScalarAlloc(psC64 value, psElemType dataType)
     24psScalar* psScalarAlloc(complex value, psElemType type)
    2525{
    2626    psScalar* scalar = NULL;
     
    3030
    3131    scalar->type.dimen = PS_DIMEN_SCALAR;
    32     scalar->type.type = dataType;
     32    scalar->type.type = type;
    3333
    34     switch (dataType) {
     34    switch (type) {
    3535    case PS_TYPE_S8:
    3636        scalar->data.S8 = (psS8) value;
     
    7272        psError(PS_ERR_BAD_PARAMETER_TYPE, true,
    7373                PS_ERRORTEXT_psScalar_UNSUPPORTED_TYPE,
    74                 dataType);
     74                type);
    7575        psFree(scalar);
    7676        return NULL;
Note: See TracChangeset for help on using the changeset viewer.