IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 7046


Ignore:
Timestamp:
May 2, 2006, 2:27:51 PM (20 years ago)
Author:
drobbin
Message:

Edited error message and updated indexSort test

Location:
trunk/psLib
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/psLib/src/mathtypes/psVector.c

    r7044 r7046  
    99*  @author Robert DeSonia, MHPCC
    1010*
    11 *  @version $Revision: 1.70 $ $Name: not supported by cvs2svn $
    12 *  @date $Date: 2006-05-02 23:02:29 $
     11*  @version $Revision: 1.71 $ $Name: not supported by cvs2svn $
     12*  @date $Date: 2006-05-03 00:27:51 $
    1313*
    1414*  Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii
     
    237237                char* typeStr;
    238238                PS_TYPE_NAME(typeStr,type);
    239                 psError(PS_ERR_BAD_PARAMETER_TYPE, true, PS_ERRORTEXT_psVector_UNSUPPORTED_TYPE, typeStr);
     239                psError(PS_ERR_BAD_PARAMETER_TYPE, true,
     240                        //                        PS_ERRORTEXT_psVector_UNSUPPORTED_TYPE, typeStr);
     241                        "Input psVector is an unsupported type.\n");
    240242                psFree(output);
    241243                return NULL;
  • trunk/psLib/test/mathtypes/tst_psVectorSort_02.c

    r7043 r7046  
    1414 *  @author  Ross Harman, MHPCC
    1515 *
    16  *  @version $Revision: 1.3 $  $Name: not supported by cvs2svn $
    17  *  @date  $Date: 2006-05-02 22:35:52 $
     16 *  @version $Revision: 1.4 $  $Name: not supported by cvs2svn $
     17 *  @date  $Date: 2006-05-03 00:27:51 $
    1818 *
    1919 *  Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii
     
    3333in->data.datatype[4] = 5+value; \
    3434out = psVectorSortIndex(out,in); \
    35 if(out->type.type != PS_TYPE_U32) { \
     35if(out->type.type != PS_TYPE_S32) { \
    3636    psError(PS_ERR_UNKNOWN,true,"Output vector is not of type PS_TYPE_U32"); \
    3737    return 1; \
  • trunk/psLib/test/mathtypes/verified/tst_psVectorSort_01.stderr

    r7043 r7046  
    22    Following should generate an error messgae
    33<DATE><TIME>|<HOST>|E|psVectorCopy (FILE:LINENO)
    4     Input psVector is an unsupported type (0xaacd184f).
     4    Input psVector is an unsupported type.
    55<DATE><TIME>|<HOST>|E|psVectorSort (FILE:LINENO)
    66    Error in psVectorSort:  psVectorCopy returned NULL vector!
Note: See TracChangeset for help on using the changeset viewer.