IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Nov 12, 2004, 9:50:34 AM (22 years ago)
Author:
gusciora
Message:

Added error codes, and corrected the return values in the polynomial
evaluation functions when the polynomial has an incorrect type.

The error stuff does not compile.

File:
1 edited

Legend:

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

    r2338 r2343  
    77 *  polynomials.  It also contains a Gaussian functions.
    88 *
    9  *  @version $Revision: 1.63 $ $Name: not supported by cvs2svn $
    10  *  @date $Date: 2004-11-11 19:32:20 $
     9 *  @version $Revision: 1.64 $ $Name: not supported by cvs2svn $
     10 *  @date $Date: 2004-11-12 19:50:34 $
    1111 *
    1212 *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
     
    11691169                myPoly->type);
    11701170    }
    1171     return(0.0);
     1171    return(NAN);
    11721172}
    11731173
     
    12071207                myPoly->type);
    12081208    }
    1209     return(0.0);
     1209    return(NAN);
    12101210}
    12111211
     
    12601260                myPoly->type);
    12611261    }
    1262     return(0.0);
     1262    return(NAN);
    12631263}
    12641264
     
    13241324                myPoly->type);
    13251325    }
    1326     return(0.0);
     1326    return(NAN);
    13271327}
    13281328
     
    15641564                myPoly->type);
    15651565    }
    1566     return(0.0);
     1566    return(NAN);
    15671567}
    15681568
     
    16031603                myPoly->type);
    16041604    }
    1605     return(0.0);
     1605    return(NAN);
    16061606}
    16071607
     
    16571657                myPoly->type);
    16581658    }
    1659     return(0.0);
     1659    return(NAN);
    16601660}
    16611661
     
    17211721                myPoly->type);
    17221722    }
    1723     return(0.0);
     1723    return(NAN);
    17241724}
    17251725
Note: See TracChangeset for help on using the changeset viewer.