IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Aug 6, 2004, 12:34:06 PM (22 years ago)
Author:
desonia
Message:

astyle fixed?

File:
1 edited

Legend:

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

    r1177 r1406  
    4545        tmp = 1.0;
    4646        tmp = x;
    47     } else if (whichParamDeriv == 1) {
    48         tmp = x;
    49         tmp = x*x;
    50     } else if (whichParamDeriv == 2) {
    51         tmp = y;
    52         tmp = y*y;
    53     } else if (whichParamDeriv == 3) {
    54         tmp = x * x * y;
    55     }
     47    } else
     48        if (whichParamDeriv == 1) {
     49            tmp = x;
     50            tmp = x*x;
     51        } else
     52            if (whichParamDeriv == 2) {
     53                tmp = y;
     54                tmp = y*y;
     55            } else
     56                if (whichParamDeriv == 3) {
     57                    tmp = x * x * y;
     58                }
    5659
    5760    //    printf("--------- myFuncDeriv((%.1f %.1f) %.1f %.1f %.1f %.1f (%d)) is %.1f ---------\n",
Note: See TracChangeset for help on using the changeset viewer.