Ignore:
Timestamp:
Sep 15, 2008 6:54:01 AM (14 years ago)
Author:
liveletlive
Message:

tweaked the configuration code for number parameters.
added code required to include units of a number parameter.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/packages/optimizer/src/rp_optimizer.c

    r1070 r1154  
    118118    numPtr->stddev = 1;
    119119    numPtr->mean = 0;
    120     numPtr->strictmax = 0; /*no strict truncation by default*/
    121     numPtr->strictmax = 0; /*no strict maximum truncation by default*/
    122 
     120    numPtr->strictmax = 0; /*no strictmax truncation by default*/
     121    numPtr->strictmin = 0; /*no strict minimum truncation by default*/
     122        numPtr->units = ""; /* Blank Units by default*/
    123123    RpOptimAddParam(envPtr, (RpOptimParam*)numPtr);
    124124
Note: See TracChangeset for help on using the changeset viewer.