Changeset 871
- Timestamp:
- Jun 4, 2004, 11:10:26 AM (22 years ago)
- Location:
- trunk/psLib/src
- Files:
-
- 2 edited
-
collections/psVector.c (modified) (2 diffs)
-
mathtypes/psVector.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psLib/src/collections/psVector.c
r831 r871 19 19 * @author Ross Harman, MHPCC 20 20 * 21 * @version $Revision: 1. 7$ $Name: not supported by cvs2svn $22 * @date $Date: 2004-06-0 2 23:29:14$21 * @version $Revision: 1.8 $ $Name: not supported by cvs2svn $ 22 * @date $Date: 2004-06-04 21:10:26 $ 23 23 * 24 24 * Copyright 2004 Maui High Performance Computing Center, University of Hawaii … … 98 98 // Invalid nalloc 99 99 if(nalloc < 1) { 100 psError(__func__, "Invalid value for nalloc (%d)\n", nalloc);100 psError(__func__, "Invalid value for realloc (%d)\n", nalloc); 101 101 return NULL; 102 102 } 103 103 104 if(in == NULL) { // For creating new psVector 104 if(in == NULL) { 105 psError(__func__, "Null input vector\n"); 105 106 return NULL; 106 107 } else if(in->nalloc != nalloc) { // No need to realloc to same size -
trunk/psLib/src/mathtypes/psVector.c
r831 r871 19 19 * @author Ross Harman, MHPCC 20 20 * 21 * @version $Revision: 1. 7$ $Name: not supported by cvs2svn $22 * @date $Date: 2004-06-0 2 23:29:14$21 * @version $Revision: 1.8 $ $Name: not supported by cvs2svn $ 22 * @date $Date: 2004-06-04 21:10:26 $ 23 23 * 24 24 * Copyright 2004 Maui High Performance Computing Center, University of Hawaii … … 98 98 // Invalid nalloc 99 99 if(nalloc < 1) { 100 psError(__func__, "Invalid value for nalloc (%d)\n", nalloc);100 psError(__func__, "Invalid value for realloc (%d)\n", nalloc); 101 101 return NULL; 102 102 } 103 103 104 if(in == NULL) { // For creating new psVector 104 if(in == NULL) { 105 psError(__func__, "Null input vector\n"); 105 106 return NULL; 106 107 } else if(in->nalloc != nalloc) { // No need to realloc to same size
Note:
See TracChangeset
for help on using the changeset viewer.
