IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 871


Ignore:
Timestamp:
Jun 4, 2004, 11:10:26 AM (22 years ago)
Author:
harman
Message:

Updated per testing

Location:
trunk/psLib/src
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/psLib/src/collections/psVector.c

    r831 r871  
    1919 *  @author Ross Harman, MHPCC
    2020 *   
    21  *  @version $Revision: 1.7 $ $Name: not supported by cvs2svn $
    22  *  @date $Date: 2004-06-02 23:29:14 $
     21 *  @version $Revision: 1.8 $ $Name: not supported by cvs2svn $
     22 *  @date $Date: 2004-06-04 21:10:26 $
    2323 *
    2424 *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
     
    9898    // Invalid nalloc
    9999    if(nalloc < 1) {
    100         psError(__func__, "Invalid value for nalloc (%d)\n", nalloc);
     100        psError(__func__, "Invalid value for realloc (%d)\n", nalloc);
    101101        return NULL;
    102102    }
    103103
    104     if(in == NULL) {                                     // For creating new psVector
     104    if(in == NULL) {
     105        psError(__func__, "Null input vector\n");
    105106        return NULL;
    106107    } else if(in->nalloc != nalloc) {                    // No need to realloc to same size
  • trunk/psLib/src/mathtypes/psVector.c

    r831 r871  
    1919 *  @author Ross Harman, MHPCC
    2020 *   
    21  *  @version $Revision: 1.7 $ $Name: not supported by cvs2svn $
    22  *  @date $Date: 2004-06-02 23:29:14 $
     21 *  @version $Revision: 1.8 $ $Name: not supported by cvs2svn $
     22 *  @date $Date: 2004-06-04 21:10:26 $
    2323 *
    2424 *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
     
    9898    // Invalid nalloc
    9999    if(nalloc < 1) {
    100         psError(__func__, "Invalid value for nalloc (%d)\n", nalloc);
     100        psError(__func__, "Invalid value for realloc (%d)\n", nalloc);
    101101        return NULL;
    102102    }
    103103
    104     if(in == NULL) {                                     // For creating new psVector
     104    if(in == NULL) {
     105        psError(__func__, "Null input vector\n");
    105106        return NULL;
    106107    } else if(in->nalloc != nalloc) {                    // No need to realloc to same size
Note: See TracChangeset for help on using the changeset viewer.