7   <span class="comment">% Is it really descent</span>
0068   <span class="keyword">if</span> (pi &gt; 0)
0069     obj.print(3,Inf,<span class="string">'LS (pen): No Descent'</span>); 
0070     
0071     bLinesearch = 0;
0072     rRelStep=0;
0073     nFlag=1;
0074     <span class="keyword">return</span>;
0075   <span class="keyword">elseif</span> (abs(pi) &lt; 1.0E-10)
0076     alp = 1.0;
0077     <span class="comment">%obj.xall = xall0 + alp*dir;   % not needed here</span>
0078     <span class="comment">%