IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 19240


Ignore:
Timestamp:
Aug 27, 2008, 12:29:48 PM (18 years ago)
Author:
Paul Price
Message:

Don't increment the size of pixels array bit by bit.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psLib/src/types/psPixels.c

    r17447 r19240  
    77 *  @author Robert DeSonia, MHPCC
    88 *
    9  *  @version $Revision: 1.41 $ $Name: not supported by cvs2svn $
    10  *  @date $Date: 2008-04-17 23:43:03 $
     9 *  @version $Revision: 1.42 $ $Name: not supported by cvs2svn $
     10 *  @date $Date: 2008-08-27 22:29:48 $
    1111 *
    1212 *  Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii
     
    263263        psPixelCoord pix = pixels->data[i]; // Coordinate of interest
    264264        if (!bsearch(&pix, out->data, numOutPix, sizeof(psPixelCoord), (qsortCompareFunc)comparePixelCoord)) {
    265             psPixelsAdd(out, 0, pix.x, pix.y);
     265            psPixelsAdd(out, out->nalloc, pix.x, pix.y);
    266266        }
    267267    }
Note: See TracChangeset for help on using the changeset viewer.