IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jun 4, 2009, 3:37:35 PM (17 years ago)
Author:
Paul Price
Message:

Fix range of iteration: [xy]GridMax are inclusive. This fixes the NAN border on the top and right sides.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/pswarp/src/pswarpTransformReadout.c

    r23538 r24330  
    109109
    110110    // create jobs and supply them to the threads
    111     for (int gridY = yGridMin; gridY < yGridMax; gridY++) {
    112         for (int gridX = xGridMin; gridX < xGridMax; gridX++) {
     111    for (int gridY = yGridMin; gridY <= yGridMax; gridY++) {
     112        for (int gridX = xGridMin; gridX <= xGridMax; gridX++) {
    113113            pswarpTransformTileArgs *args = pswarpTransformTileArgsAlloc();
    114114            args->input = psMemIncrRefCounter(input);
Note: See TracChangeset for help on using the changeset viewer.