IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 9552


Ignore:
Timestamp:
Oct 13, 2006, 2:02:31 PM (20 years ago)
Author:
Paul Price
Message:

Removing extraneous type.

Location:
trunk/psLib/src
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/psLib/src/math/psBinaryOp.c

    r8627 r9552  
    3030 *  @author Robert DeSonia, MHPCC
    3131 *
    32  *  @version $Revision: 1.10 $ $Name: not supported by cvs2svn $
    33  *  @date $Date: 2006-08-26 04:34:28 $
     32 *  @version $Revision: 1.11 $ $Name: not supported by cvs2svn $
     33 *  @date $Date: 2006-10-14 00:02:31 $
    3434 *
    3535 *  Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii
     
    423423    PS_ASSERT_PTR_DIMEN_GENERAL_NOT(input2, PS_DIMEN_OTHER, psBinaryOp_EXIT);
    424424
    425     psType* psType1 = (psType*)in1;
    426     psType* psType2 = (psType*)in2;
     425    psMathType* psType1 = (psMathType*)in1;
     426    psMathType* psType2 = (psMathType*)in2;
    427427    psDimen dim1 = psType1->dimen;
    428428    psDimen dim2 = psType2->dimen;
     
    451451
    452452    if (dim1 == PS_DIMEN_SCALAR) {
    453         if ( out != NULL && ((psType*)out)->dimen != dim2) {
     453        if ( out != NULL && ((psMathType*)out)->dimen != dim2) {
    454454            if (out != in1 && out != in2) {
    455455                psFree(out);
  • trunk/psLib/src/math/psUnaryOp.c

    r8627 r9552  
    3030 *  @author Robert DeSonia, MHPCC
    3131 *
    32  *  @version $Revision: 1.10 $ $Name: not supported by cvs2svn $
    33  *  @date $Date: 2006-08-26 04:34:28 $
     32 *  @version $Revision: 1.11 $ $Name: not supported by cvs2svn $
     33 *  @date $Date: 2006-10-14 00:02:31 $
    3434 *
    3535 *  Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii
     
    291291                           }
    292292
    293     psType* psTypeIn = (psType* ) in;
     293    psMathType* psTypeIn = (psMathType* ) in;
    294294
    295295    PS_ASSERT_GENERAL_PTR_NON_NULL(in, psUnaryOp_EXIT);
     
    299299    case PS_DIMEN_SCALAR:
    300300        if (out == NULL ||
    301                 ((psType*)out)->dimen != PS_DIMEN_SCALAR ||
     301                ((psMathType*)out)->dimen != PS_DIMEN_SCALAR ||
    302302                ((psScalar*)out)->type.type != psTypeIn->type) {
    303303            psFree(out);
  • trunk/psLib/src/sys/psType.h

    r7901 r9552  
    1010*  @author Ross Harman, MHPCC
    1111*
    12 *  @version $Revision: 1.51 $ $Name: not supported by cvs2svn $
    13 *  @date $Date: 2006-07-14 02:26:25 $
     12*  @version $Revision: 1.52 $ $Name: not supported by cvs2svn $
     13*  @date $Date: 2006-10-14 00:02:31 $
    1414*
    1515*  Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii
     
    283283typedef struct
    284284{
    285     psElemType type;                   ///< Primitive type.
    286     psDimen dimen;                     ///< Dimensionality.
    287 }
    288 psType;
    289 
    290 typedef struct
    291 {
    292285    psElemType type;                   ///< The type
    293286    psDimen dimen;                     ///< The dimensionality.
Note: See TracChangeset for help on using the changeset viewer.