Changeset 4980
- Timestamp:
- Sep 8, 2005, 4:02:54 PM (21 years ago)
- Location:
- trunk/psLib
- Files:
-
- 2 edited
-
src/mathtypes/psImage.c (modified) (2 diffs)
-
test/mathtypes/tst_psImage.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psLib/src/mathtypes/psImage.c
r4944 r4980 9 9 * @author Ross Harman, MHPCC 10 10 * 11 * @version $Revision: 1.8 0$ $Name: not supported by cvs2svn $12 * @date $Date: 2005-09-0 2 21:32:06$11 * @version $Revision: 1.81 $ $Name: not supported by cvs2svn $ 12 * @date $Date: 2005-09-09 02:02:54 $ 13 13 * 14 14 * Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii … … 141 141 } 142 142 143 return psRegionSet(col0 ,col1,row0,row1);143 return psRegionSet(col0-1,col1,row0-1,row1); 144 144 } 145 145 -
trunk/psLib/test/mathtypes/tst_psImage.c
r4936 r4980 6 6 * @author Robert DeSonia, MHPCC 7 7 * 8 * @version $Revision: 1. 4$ $Name: not supported by cvs2svn $9 * @date $Date: 2005-0 8-31 22:00:32$8 * @version $Revision: 1.5 $ $Name: not supported by cvs2svn $ 9 * @date $Date: 2005-09-09 02:02:54 $ 10 10 * 11 11 * Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii … … 263 263 264 264 testNum++; 265 if (region.x0 != 1 || region.x1 != 2 || region.y0 != 3|| region.y1 != 4) {265 if (region.x0 != 0 || region.x1 != 2 || region.y0 != 2 || region.y1 != 4) { 266 266 psError(PS_ERR_UNKNOWN, false, 267 267 "The region attributes are not set properly (%s)",
Note:
See TracChangeset
for help on using the changeset viewer.
