     rRelStep=0.;
0099       nFlag=2;
0100       obj.print(3,Inf,<span class="string">'LS (pen):  %.4e (almost not descent), no step'</span>, pi); 
0101     <span class="keyword">else</span>        <span class="comment">% still acceptable</span>
0102       obj.xall = xall0 + alp*dir;
0103       <span class="comment">%x=x_it;</span>
0104       obj.eval_alx();
0105       obj.eval_aldx();
0106       <span class="comment">%fx = fnc.obj(x);</span>
0107       <span class="comment">%gradx = fnc.obj_grad(x);</span>