d">break</span>;
0187     <span class="keyword">end</span>
0188     
0189     <span class="comment">% update best point</span>
0190     <span class="keyword">if</span> (f &lt; fbest || (f == fbest &amp;&amp; f == f0))
0191       fbest=f;
0192       <span class="keyword">if</span> (f == f0 &amp;&amp; (ksh == 0 || alp &lt; alps))
0193         <span class="comment">% store smallest step with f=f0 for possible restauration</span>
0194         alps = alp;
0195       <span class="keyword">end</span>
0196       <s