IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 19354


Ignore:
Timestamp:
Sep 4, 2008, 10:11:00 AM (18 years ago)
Author:
Paul Price
Message:

Gene found a bug in the definition of [ij]Max. This is a simplified
expression of his fix.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psLib/src/imageops/psImageInterpolate.c

    r19228 r19354  
    77 *  @author Paul Price, IfA
    88 *
    9  *  @version $Revision: 1.19 $ $Name: not supported by cvs2svn $
    10  *  @date $Date: 2008-08-27 01:54:01 $
     9 *  @version $Revision: 1.20 $ $Name: not supported by cvs2svn $
     10 *  @date $Date: 2008-09-04 20:11:00 $
    1111 *
    1212 *  Copyright 2004-2007 Institute for Astronomy, University of Hawaii
     
    265265    if (xStop > xLast) { \
    266266        xMax = xLast; \
    267         iMax = xStop - xLast; \
     267        iMax = xLast - xStart + 1; \
    268268        offImage = true; \
    269269    } else { \
     
    281281    if (yStop > yLast) { \
    282282        yMax = yLast; \
    283         jMax = yStop - yLast; \
     283        jMax = yLast - yStart + 1; \
    284284        offImage = true; \
    285285    } else { \
Note: See TracChangeset for help on using the changeset viewer.