IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jan 27, 2006, 10:08:58 AM (20 years ago)
Author:
gusciora
Message:

I added tests for psImageSmooth, modified the psStats stuff and the Min
routines.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psLib/src/math/psMinimizePolyFit.c

    r6204 r6226  
    1010 *  @author EAM, IfA
    1111 *
    12  *  @version $Revision: 1.5 $ $Name: not supported by cvs2svn $
    13  *  @date $Date: 2006-01-26 21:10:22 $
     12 *  @version $Revision: 1.6 $ $Name: not supported by cvs2svn $
     13 *  @date $Date: 2006-01-27 20:08:58 $
    1414 *
    1515 *  Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii
     
    10321032    psF32 minClipSigma;
    10331033    psF32 maxClipSigma;
    1034     if (isnan(stats->max) || isfinite(stats->max)) {
     1034    if (isfinite(stats->max)) {
     1035        maxClipSigma = fabs(stats->max);
     1036    } else {
    10351037        maxClipSigma = fabs(stats->clipSigma);
    1036     } else {
    1037         maxClipSigma = fabs(stats->max);
    1038     }
    1039     if (isnan(stats->min) || isfinite(stats->min)) {
     1038    }
     1039    if (isfinite(stats->min)) {
     1040        minClipSigma = fabs(stats->min);
     1041    } else {
    10401042        minClipSigma = fabs(stats->clipSigma);
    1041     } else {
    1042         minClipSigma = fabs(stats->min);
    10431043    }
    10441044
Note: See TracChangeset for help on using the changeset viewer.