IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 2978


Ignore:
Timestamp:
Jan 13, 2005, 11:23:56 AM (22 years ago)
Author:
desonia
Message:

relaxed the precision of the check of the result.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psLib/test/dataManip/tst_psVectorFFT.c

    r2713 r2978  
    66*  @author Robert DeSonia, MHPCC
    77*
    8 *  @version $Revision: 1.10 $ $Name: not supported by cvs2svn $
    9 *  @date $Date: 2004-12-14 21:16:28 $
     8*  @version $Revision: 1.11 $ $Name: not supported by cvs2svn $
     9*  @date $Date: 2005-01-13 21:23:56 $
    1010*
    1111*  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
     
    602602            return 2;
    603603        }
    604         if (fabsf(val1 - vec4->data.F64[n]) > FLT_EPSILON) {
     604        if (fabsf(val1 - vec4->data.F64[n]) > 0.001) {
    605605            psError(PS_ERR_UNKNOWN,true,"psVectorPowerSpectrum result is invalid (n=%d, %.2f %.2f)",n,vec4->data.F64[n],val1);
    606606            return 22;
Note: See TracChangeset for help on using the changeset viewer.