Changeset 84
- Timestamp:
- 04/28/09 15:01:13 (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk/src/c/shared/Numerics/BrentSearch.cpp
r68 r84 218 218 //Stop the optimization? 219 219 if (sqrt(pow(xbest-xm,2)) < (tol2-0.5*(xmax-xmin))){ 220 _printf_(" \nOptimization terminated:\nthe current x satisfies the termination criteria using 'tolx' of %g \n",tolerance);220 _printf_(" %s%g\n","optimization terminated: the current x satisfies the termination criteria using 'tolx' of" ,tolerance); 221 221 loop=0; 222 222 } 223 223 else if (iter>=maxiter){ 224 _printf_(" \nExiting: Maximum number of iterations has been exceeded - increase 'maxiter'\n");224 _printf_(" %s\n","exiting: Maximum number of iterations has been exceeded - increase 'maxiter'\n"); 225 225 loop=0; 226 226 }
Note:
See TracChangeset
for help on using the changeset viewer.