Changeset 1070


Ignore:
Timestamp:
06/23/09 16:51:37 (15 years ago)
Author:
Mathieu Morlighem
Message:

fixed bug (xmin and xmax are actually changing_

File:
1 edited

Legend:

Unmodified
Added
Removed
  • issm/trunk/src/c/shared/Numerics/BrentSearch.cpp

    r477 r1070  
    234234        //Now, check that the value on the boundaries are not better than current fxbest
    235235        if (fxbest>fxmin){
    236                 xbest=xmin;
     236                xbest=optpars->xmin;;
    237237                fxbest=fxmin;
    238238        }
    239239        if (fxbest>fxmax){
    240                 xbest=xmax;
     240                xbest=optpars->xmax;;
    241241                fxbest=fxmax;
    242242        }
Note: See TracChangeset for help on using the changeset viewer.