IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Feb 22, 2007, 12:12:36 PM (19 years ago)
Author:
Paul Price
Message:

Fixing bug due to wrong sense of boolean.

File:
1 edited

Legend:

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

    r11704 r11999  
    77/// @author Eugene Magnier, IfA
    88///
    9 /// @version $Revision: 1.44 $ $Name: not supported by cvs2svn $
    10 /// @date $Date: 2007-02-08 04:23:57 $
     9/// @version $Revision: 1.45 $ $Name: not supported by cvs2svn $
     10/// @date $Date: 2007-02-22 22:12:36 $
    1111///
    1212/// Copyright 2004-2007 Institute for Astronomy, University of Hawaii
     
    2929#include "psImageStructManip.h"
    3030#include "psImagePixelManip.h"
     31#include "psTrace.h"
    3132
    3233#include "psImageConvolve.h"
     
    154155    }
    155156
     157    psTrace("psLib.imageops", 5, "Kernel range: %d:%d,%d:%d\n", xMin, xMax, yMin, yMax);
     158
    156159    if (!tRelative) {
    157160        // Then the total time is simply the final value
     
    175178        }
    176179        float t = tShifts->data.F32[i];
    177         if (tRelative) {
     180        if (!tRelative) {
    178181            t -= tLast;
    179182            tLast = tShifts->data.F32[i];
Note: See TracChangeset for help on using the changeset viewer.