IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 15230


Ignore:
Timestamp:
Oct 5, 2007, 3:02:49 PM (19 years ago)
Author:
Paul Price
Message:

Attempting to guard against failing assertions on nXruff and nYruff in psImageBinningSetScale.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psModules/src/objects/pmPSF_IO.c

    r15228 r15230  
    66 *  @author EAM, IfA
    77 *
    8  *  @version $Revision: 1.25 $ $Name: not supported by cvs2svn $
    9  *  @date $Date: 2007-10-05 22:47:04 $
     8 *  @version $Revision: 1.26 $ $Name: not supported by cvs2svn $
     9 *  @date $Date: 2007-10-06 01:02:49 $
    1010 *
    1111 *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
     
    651651        if (psfTrendMode == PM_TREND_NONE) {
    652652            psfTrendMode = PM_TREND_POLY_ORD;
     653        }
     654
     655        // XXX Attempting to guard against failing assertions on nXruff and nYruff in psImageBinningSetScale.
     656        // This replicates code in psphotCheckStarDistribution, where these values are generated.  Not sure
     657        // it's correct, though.
     658        if (psfTrendMode != PM_TREND_MAP) {
     659            binning->nXruff++;
     660            binning->nYruff++;
    653661        }
    654662
Note: See TracChangeset for help on using the changeset viewer.