IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
May 24, 2004, 4:10:41 PM (22 years ago)
Author:
gusciora
Message:

...

File:
1 edited

Legend:

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

    r751 r773  
    234234    float xSum = 1.0;
    235235
     236    if (myPoly->n == 0) {
     237        return(1.0);
     238    }
     239
    236240    for (loop_x=0;loop_x<myPoly->n;loop_x++) {
    237241        polySum+= xSum * myPoly->coeff[loop_x];
     
    519523    double xSum = 1.0;
    520524
     525    if (myPoly->n == 0) {
     526        return(1.0);
     527    }
     528
    521529    for (loop_x=0;loop_x<myPoly->n;loop_x++) {
    522530        polySum+= xSum * myPoly->coeff[loop_x];
Note: See TracChangeset for help on using the changeset viewer.