s="comment">% fx = fnc.obj(x);</span>
0460       fx=f;
0461       obj.eval_aldx();
0462       <span class="comment">%gradx = fnc.obj_grad(x);</span>
0463       nFlag=0;
0464     <span class="keyword">else</span>
0465       <span class="keyword">if</span> (ksh&gt;0 &amp;&amp; alpm &gt; 0.) <span class="comment">%fbest &lt; HUGE_VAL &amp;&amp; alpm &gt; 0.)</span>
0466         <span class="comment">% We have descent direction, but</span>
0467         <span class="comment">% function values cannot be improved 