IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Apr 10, 2008, 9:42:05 PM (18 years ago)
Author:
eugene
Message:

skip result with 0.0 variance

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psModules/src/astrom/pmAstrometryObjects.c

    r17036 r17437  
    88*  @author EAM, IfA
    99*
    10 *  @version $Revision: 1.38 $ $Name: not supported by cvs2svn $
    11 *  @date $Date: 2008-03-18 18:38:14 $
     10*  @version $Revision: 1.39 $ $Name: not supported by cvs2svn $
     11*  @date $Date: 2008-04-11 07:42:05 $
    1212*
    1313*  Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii
     
    756756            newStat->center = center;
    757757
    758             if (isfinite(newStat->minMetric) && (newStat->minMetric < minStat->minMetric)) {
     758            if (isfinite(newStat->minMetric) && (newStat->minMetric > 0.0) && (newStat->minMetric < minStat->minMetric)) {
    759759                *minStat = *newStat;
    760760                psLogMsg ("psModule.astrom", 4, "grid test - offset: %7.2f,%7.2f @ %6.1f deg x %7.3f (%4d pts, %5.1f sig, %5.1f var, %6.3f log metric) *",
Note: See TracChangeset for help on using the changeset viewer.