Changeset 8627 for trunk/psLib/src/mathtypes
- Timestamp:
- Aug 25, 2006, 6:34:28 PM (20 years ago)
- Location:
- trunk/psLib/src/mathtypes
- Files:
-
- 3 edited
-
psImage.c (modified) (2 diffs)
-
psVector.c (modified) (4 diffs)
-
psVector.h (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psLib/src/mathtypes/psImage.c
r8232 r8627 9 9 * @author Ross Harman, MHPCC 10 10 * 11 * @version $Revision: 1.11 3$ $Name: not supported by cvs2svn $12 * @date $Date: 2006-08- 08 23:32:23$11 * @version $Revision: 1.114 $ $Name: not supported by cvs2svn $ 12 * @date $Date: 2006-08-26 04:34:28 $ 13 13 * 14 14 * Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii … … 203 203 204 204 default: 205 psError (PS_ERR_BAD_PARAMETER_TYPE, true, "datatype %d not defined in psImageInit\n", image->type);205 psError(PS_ERR_BAD_PARAMETER_TYPE, true, "datatype not defined in psImageInit\n"); 206 206 } 207 207 return (false); -
trunk/psLib/src/mathtypes/psVector.c
r8374 r8627 9 9 * @author Robert DeSonia, MHPCC 10 10 * 11 * @version $Revision: 1.8 1$ $Name: not supported by cvs2svn $12 * @date $Date: 2006-08- 16 03:28:13$11 * @version $Revision: 1.82 $ $Name: not supported by cvs2svn $ 12 * @date $Date: 2006-08-26 04:34:28 $ 13 13 * 14 14 * Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii … … 301 301 PS_TYPE_NAME(typeStr,type); \ 302 302 psError(PS_ERR_BAD_PARAMETER_TYPE, true, \ 303 _("Input psVector is an unsupported type (0x% x)."), \303 _("Input psVector is an unsupported type (0x%s)."), \ 304 304 typeStr); \ 305 305 psFree(output); \ … … 326 326 PS_TYPE_NAME(typeStr,type); 327 327 psError(PS_ERR_BAD_PARAMETER_TYPE, true, 328 _("Input psVector is an unsupported type (0x% x)."),328 _("Input psVector is an unsupported type (0x%s)."), 329 329 typeStr); 330 330 psFree(output); … … 816 816 return (true); 817 817 default: 818 psError (PS_ERR_BAD_PARAMETER_TYPE, true, "datatype %d not defined in psImageInit\n", vector->type);818 psError (PS_ERR_BAD_PARAMETER_TYPE, true, "datatype not defined in psImageInit\n"); 819 819 return (false); 820 820 } -
trunk/psLib/src/mathtypes/psVector.h
r8387 r8627 11 11 * @author Ross Harman, MHPCC 12 12 * 13 * @version $Revision: 1.5 5$ $Name: not supported by cvs2svn $14 * @date $Date: 2006-08- 16 20:36:04$13 * @version $Revision: 1.56 $ $Name: not supported by cvs2svn $ 14 * @date $Date: 2006-08-26 04:34:28 $ 15 15 * 16 16 * Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii … … 318 318 if ((VEC1)->n != (VEC2)->n) { \ 319 319 psError(PS_ERR_BAD_PARAMETER_SIZE, true, \ 320 "psVector %s has size % d, psVector %s has size %d.", \320 "psVector %s has size %ld, psVector %s has size %ld.", \ 321 321 #VEC1, (VEC1)->n, #VEC2, (VEC2)->n); \ 322 322 return(RVAL); \ … … 326 326 if ((VEC)->n != (SIZE)) { \ 327 327 psError(PS_ERR_BAD_PARAMETER_SIZE, true, \ 328 "psVector %s has size % d, should be %d.", \328 "psVector %s has size %ld, should be %ld.", \ 329 329 #VEC, (VEC)->n, (SIZE)); \ 330 330 return(RVAL); \
Note:
See TracChangeset
for help on using the changeset viewer.
