IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 3113


Ignore:
Timestamp:
Feb 2, 2005, 2:00:10 PM (21 years ago)
Author:
evanalst
Message:

Update set iterator for negative index for location.

Location:
trunk/psLib/src
Files:
2 edited

Legend:

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

    r3110 r3113  
    66 *  @author Robert Daniel DeSonia, MHPCC
    77 *
    8  *  @version $Revision: 1.32 $ $Name: not supported by cvs2svn $
    9  *  @date $Date: 2005-02-02 21:58:09 $
     8 *  @version $Revision: 1.33 $ $Name: not supported by cvs2svn $
     9 *  @date $Date: 2005-02-03 00:00:10 $
    1010 *
    1111 *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
     
    205205
    206206    if (location < 0) {
    207         location = (list->size + 1) + location;
     207        location = list->size + location;
    208208    }
    209209
  • trunk/psLib/src/types/psList.c

    r3110 r3113  
    66 *  @author Robert Daniel DeSonia, MHPCC
    77 *
    8  *  @version $Revision: 1.32 $ $Name: not supported by cvs2svn $
    9  *  @date $Date: 2005-02-02 21:58:09 $
     8 *  @version $Revision: 1.33 $ $Name: not supported by cvs2svn $
     9 *  @date $Date: 2005-02-03 00:00:10 $
    1010 *
    1111 *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
     
    205205
    206206    if (location < 0) {
    207         location = (list->size + 1) + location;
     207        location = list->size + location;
    208208    }
    209209
Note: See TracChangeset for help on using the changeset viewer.