IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 21337


Ignore:
Timestamp:
Feb 5, 2009, 1:56:14 PM (17 years ago)
Author:
Paul Price
Message:

Fixing range to avoid SEGV.

File:
1 edited

Legend:

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

    r21335 r21337  
    77/// @author Eugene Magnier, IfA
    88///
    9 /// @version $Revision: 1.83 $ $Name: not supported by cvs2svn $
    10 /// @date $Date: 2009-02-05 22:36:19 $
     9/// @version $Revision: 1.84 $ $Name: not supported by cvs2svn $
     10/// @date $Date: 2009-02-05 23:56:14 $
    1111///
    1212/// Copyright 2004-2007 Institute for Astronomy, University of Hawaii
     
    470470        sum += TARGET->data.TYPE[j] = exp(factor * PS_SQR(i)); \
    471471    } \
    472     for (int i = 0; i <= 2 * SIZE + 1; i++) { \
     472    for (int i = 0; i < 2 * SIZE + 1; i++) { \
    473473        TARGET->data.TYPE[i] /= sum; \
    474474    }
Note: See TracChangeset for help on using the changeset viewer.