Changeset 11673
- Timestamp:
- Feb 6, 2007, 2:40:04 PM (19 years ago)
- File:
-
- 1 edited
-
trunk/psLib/src/mathtypes/psImage.h (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psLib/src/mathtypes/psImage.h
r11248 r11673 8 8 * @author Ross Harman, MHPCC 9 9 * 10 * @version $Revision: 1.8 4$ $Name: not supported by cvs2svn $11 * @date $Date: 2007-0 1-23 22:47:23$10 * @version $Revision: 1.85 $ $Name: not supported by cvs2svn $ 11 * @date $Date: 2007-02-07 00:40:04 $ 12 12 * Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii 13 13 */ … … 271 271 } 272 272 273 #define PS_ASSERT_IMAGE_TYPE_F32_OR_F64(NAME, RVAL) \ 274 if ((NAME)->type.type != PS_TYPE_F32 || (NAME)->type.type != PS_TYPE_F64) { \ 275 psError(PS_ERR_BAD_PARAMETER_TYPE, true, \ 276 "Unallowable operation: psImage %s is not of type F32 or F64.", \ 277 #NAME); \ 278 return(RVAL); \ 279 } 280 273 281 #define PS_ASSERT_IMAGES_SIZE_EQUAL(NAME1, NAME2, RVAL) \ 274 282 if (((NAME1)->numCols != (NAME2)->numCols) || \
Note:
See TracChangeset
for help on using the changeset viewer.
