Changeset 7046
- Timestamp:
- May 2, 2006, 2:27:51 PM (20 years ago)
- Location:
- trunk/psLib
- Files:
-
- 3 edited
-
src/mathtypes/psVector.c (modified) (2 diffs)
-
test/mathtypes/tst_psVectorSort_02.c (modified) (2 diffs)
-
test/mathtypes/verified/tst_psVectorSort_01.stderr (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psLib/src/mathtypes/psVector.c
r7044 r7046 9 9 * @author Robert DeSonia, MHPCC 10 10 * 11 * @version $Revision: 1.7 0$ $Name: not supported by cvs2svn $12 * @date $Date: 2006-05-0 2 23:02:29$11 * @version $Revision: 1.71 $ $Name: not supported by cvs2svn $ 12 * @date $Date: 2006-05-03 00:27:51 $ 13 13 * 14 14 * Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii … … 237 237 char* typeStr; 238 238 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"); 240 242 psFree(output); 241 243 return NULL; -
trunk/psLib/test/mathtypes/tst_psVectorSort_02.c
r7043 r7046 14 14 * @author Ross Harman, MHPCC 15 15 * 16 * @version $Revision: 1. 3$ $Name: not supported by cvs2svn $17 * @date $Date: 2006-05-0 2 22:35:52$16 * @version $Revision: 1.4 $ $Name: not supported by cvs2svn $ 17 * @date $Date: 2006-05-03 00:27:51 $ 18 18 * 19 19 * Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii … … 33 33 in->data.datatype[4] = 5+value; \ 34 34 out = psVectorSortIndex(out,in); \ 35 if(out->type.type != PS_TYPE_ U32) { \35 if(out->type.type != PS_TYPE_S32) { \ 36 36 psError(PS_ERR_UNKNOWN,true,"Output vector is not of type PS_TYPE_U32"); \ 37 37 return 1; \ -
trunk/psLib/test/mathtypes/verified/tst_psVectorSort_01.stderr
r7043 r7046 2 2 Following should generate an error messgae 3 3 <DATE><TIME>|<HOST>|E|psVectorCopy (FILE:LINENO) 4 Input psVector is an unsupported type (0xaacd184f).4 Input psVector is an unsupported type. 5 5 <DATE><TIME>|<HOST>|E|psVectorSort (FILE:LINENO) 6 6 Error in psVectorSort: psVectorCopy returned NULL vector!
Note:
See TracChangeset
for help on using the changeset viewer.
