Changeset 2680
- Timestamp:
- Dec 9, 2004, 1:31:14 PM (22 years ago)
- Location:
- trunk/psLib/src
- Files:
-
- 3 edited
-
dataManip/psConstants.h (modified) (2 diffs)
-
dataManip/psMatrixVectorArithmetic.c (modified) (2 diffs)
-
math/psConstants.h (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psLib/src/dataManip/psConstants.h
r2635 r2680 6 6 * @author GLG, MHPCC 7 7 * 8 * @version $Revision: 1.4 2$ $Name: not supported by cvs2svn $9 * @date $Date: 2004-12-0 6 19:49:36$8 * @version $Revision: 1.43 $ $Name: not supported by cvs2svn $ 9 * @date $Date: 2004-12-09 23:31:14 $ 10 10 * 11 11 * Copyright 2004 Maui High Performance Computing Center, University of Hawaii … … 117 117 #define PS_PTR_CHECK_DIMEN_GENERAL(NAME, DIMEN, CLEANUP) \ 118 118 if (NAME->type.dimen != DIMEN) { \ 119 psError(PS_ERR_BAD_PARAMETER_TYPE, true, \ 120 "Unallowable operation: %s has incorrect dimensionality.", \ 121 #NAME); \ 122 CLEANUP; \ 123 } 124 125 #define PS_PTR_CHECK_DIMEN_GENERAL_NOT(NAME, DIMEN, CLEANUP) \ 126 if (NAME->type.dimen == DIMEN) { \ 119 127 psError(PS_ERR_BAD_PARAMETER_TYPE, true, \ 120 128 "Unallowable operation: %s has incorrect dimensionality.", \ -
trunk/psLib/src/dataManip/psMatrixVectorArithmetic.c
r2273 r2680 29 29 * @author Ross Harman, MHPCC 30 30 * 31 * @version $Revision: 1.3 0$ $Name: not supported by cvs2svn $32 * @date $Date: 2004-1 1-04 01:04:59$31 * @version $Revision: 1.31 $ $Name: not supported by cvs2svn $ 32 * @date $Date: 2004-12-09 23:31:14 $ 33 33 * 34 34 * Copyright 2004 Maui High Performance Computing Center, University of Hawaii … … 442 442 PS_PTR_CHECK_TYPE_EQUAL_GENERAL(input1,input2, psBinaryOp_EXIT); 443 443 444 PS_PTR_CHECK_DIMEN_GENERAL (input1, PS_DIMEN_OTHER, psBinaryOp_EXIT);445 PS_PTR_CHECK_DIMEN_GENERAL (input2, PS_DIMEN_OTHER, psBinaryOp_EXIT);444 PS_PTR_CHECK_DIMEN_GENERAL_NOT(input1, PS_DIMEN_OTHER, psBinaryOp_EXIT); 445 PS_PTR_CHECK_DIMEN_GENERAL_NOT(input2, PS_DIMEN_OTHER, psBinaryOp_EXIT); 446 446 447 447 psType* psType1 = (psType*)in1; -
trunk/psLib/src/math/psConstants.h
r2635 r2680 6 6 * @author GLG, MHPCC 7 7 * 8 * @version $Revision: 1.4 2$ $Name: not supported by cvs2svn $9 * @date $Date: 2004-12-0 6 19:49:36$8 * @version $Revision: 1.43 $ $Name: not supported by cvs2svn $ 9 * @date $Date: 2004-12-09 23:31:14 $ 10 10 * 11 11 * Copyright 2004 Maui High Performance Computing Center, University of Hawaii … … 117 117 #define PS_PTR_CHECK_DIMEN_GENERAL(NAME, DIMEN, CLEANUP) \ 118 118 if (NAME->type.dimen != DIMEN) { \ 119 psError(PS_ERR_BAD_PARAMETER_TYPE, true, \ 120 "Unallowable operation: %s has incorrect dimensionality.", \ 121 #NAME); \ 122 CLEANUP; \ 123 } 124 125 #define PS_PTR_CHECK_DIMEN_GENERAL_NOT(NAME, DIMEN, CLEANUP) \ 126 if (NAME->type.dimen == DIMEN) { \ 119 127 psError(PS_ERR_BAD_PARAMETER_TYPE, true, \ 120 128 "Unallowable operation: %s has incorrect dimensionality.", \
Note:
See TracChangeset
for help on using the changeset viewer.
