IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 3002


Ignore:
Timestamp:
Jan 14, 2005, 1:40:24 PM (22 years ago)
Author:
gusciora
Message:

Fixed error message.

Location:
trunk/psLib/src
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/psLib/src/dataManip/psFunctions.c

    r3000 r3002  
    77 *  polynomials.  It also contains a Gaussian functions.
    88 *
    9  *  @version $Revision: 1.80 $ $Name: not supported by cvs2svn $
    10  *  @date $Date: 2005-01-14 23:27:56 $
     9 *  @version $Revision: 1.81 $ $Name: not supported by cvs2svn $
     10 *  @date $Date: 2005-01-14 23:40:24 $
    1111 *
    1212 *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
     
    19121912        (tmp->domains)[i] = bounds->data.F32[i];
    19131913        if (i<(bounds->n-1)) {
    1914             if (FLT_EPSILON < fabs(bounds->data.F32[i+1]-bounds->data.F32[i])) {
    1915                 printf("ERROR: psErrorMsg(data points must be distinct\n");
    1916                 // XXX: psErrorMsg(data points must be distinct)
     1914            if (FLT_EPSILON >= fabs(bounds->data.F32[i+1]-bounds->data.F32[i])) {
     1915                psError(PS_ERR_UNKNOWN, true, "data points must be distinct\n");
    19171916            }
    19181917        }
  • trunk/psLib/src/math/psPolynomial.c

    r3000 r3002  
    77 *  polynomials.  It also contains a Gaussian functions.
    88 *
    9  *  @version $Revision: 1.80 $ $Name: not supported by cvs2svn $
    10  *  @date $Date: 2005-01-14 23:27:56 $
     9 *  @version $Revision: 1.81 $ $Name: not supported by cvs2svn $
     10 *  @date $Date: 2005-01-14 23:40:24 $
    1111 *
    1212 *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
     
    19121912        (tmp->domains)[i] = bounds->data.F32[i];
    19131913        if (i<(bounds->n-1)) {
    1914             if (FLT_EPSILON < fabs(bounds->data.F32[i+1]-bounds->data.F32[i])) {
    1915                 printf("ERROR: psErrorMsg(data points must be distinct\n");
    1916                 // XXX: psErrorMsg(data points must be distinct)
     1914            if (FLT_EPSILON >= fabs(bounds->data.F32[i+1]-bounds->data.F32[i])) {
     1915                psError(PS_ERR_UNKNOWN, true, "data points must be distinct\n");
    19171916            }
    19181917        }
  • trunk/psLib/src/math/psSpline.c

    r3000 r3002  
    77 *  polynomials.  It also contains a Gaussian functions.
    88 *
    9  *  @version $Revision: 1.80 $ $Name: not supported by cvs2svn $
    10  *  @date $Date: 2005-01-14 23:27:56 $
     9 *  @version $Revision: 1.81 $ $Name: not supported by cvs2svn $
     10 *  @date $Date: 2005-01-14 23:40:24 $
    1111 *
    1212 *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
     
    19121912        (tmp->domains)[i] = bounds->data.F32[i];
    19131913        if (i<(bounds->n-1)) {
    1914             if (FLT_EPSILON < fabs(bounds->data.F32[i+1]-bounds->data.F32[i])) {
    1915                 printf("ERROR: psErrorMsg(data points must be distinct\n");
    1916                 // XXX: psErrorMsg(data points must be distinct)
     1914            if (FLT_EPSILON >= fabs(bounds->data.F32[i+1]-bounds->data.F32[i])) {
     1915                psError(PS_ERR_UNKNOWN, true, "data points must be distinct\n");
    19171916            }
    19181917        }
Note: See TracChangeset for help on using the changeset viewer.