="keyword">if</span> (f == f0 &amp;&amp; f2 == f0)
0217       <span class="comment">% check whether f=f0 due to very short step</span>
0218       <span class="keyword">if</span> (f1 &lt; f0 || ksh &lt;= 6)
0219         <span class="comment">% assume very short step</span>
0220         mu = 1.;
0221       <span class="keyword">end</span>
0222     <span class="keyword">end</span>
0223     
0224     <span class="comment">% update bracket, with safeguard when f=f0</span>
0225     bLong = (mu &lt; mu1s); <span c