Changeset 7071 for trunk/psLib/src/mathtypes
- Timestamp:
- May 4, 2006, 4:48:35 PM (20 years ago)
- Location:
- trunk/psLib/src/mathtypes
- Files:
-
- 2 edited
-
psImage.c (modified) (2 diffs)
-
psVector.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psLib/src/mathtypes/psImage.c
r6912 r7071 9 9 * @author Ross Harman, MHPCC 10 10 * 11 * @version $Revision: 1.10 3$ $Name: not supported by cvs2svn $12 * @date $Date: 2006-0 4-20 01:13:11$11 * @version $Revision: 1.104 $ $Name: not supported by cvs2svn $ 12 * @date $Date: 2006-05-05 02:48:34 $ 13 13 * 14 14 * Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii … … 714 714 715 715 char buffer[20]; 716 for (int j = 0; j < a[0].numRows; j++) { 717 for (int i = 0; i < a[0].numCols; i++) { 716 // for (int j = 0; j < a[0].numRows; j++) { 717 // for (int i = 0; i < a[0].numCols; i++) { 718 for (int j = 0; j < a->numRows; j++) { 719 for (int i = 0; i < a->numCols; i++) { 718 720 snprintf (buffer,20, "%f ", p_psImageGetElementF64(a, i, j)); 719 721 write(fd,buffer,strlen(buffer)); -
trunk/psLib/src/mathtypes/psVector.c
r7056 r7071 9 9 * @author Robert DeSonia, MHPCC 10 10 * 11 * @version $Revision: 1.7 3$ $Name: not supported by cvs2svn $12 * @date $Date: 2006-05-0 4 00:09:11$11 * @version $Revision: 1.74 $ $Name: not supported by cvs2svn $ 12 * @date $Date: 2006-05-05 02:48:34 $ 13 13 * 14 14 * Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii … … 207 207 output = psVectorRecycle(output, nElements, type); 208 208 if (nElements == 0) { 209 psWarning("Warning: psVector was copied with 0 elements!\n");209 // psWarning("Warning: psVector was copied with 0 elements!\n"); 210 210 return output; 211 211 }
Note:
See TracChangeset
for help on using the changeset viewer.
