
0364           alpd = alp2;    <span class="comment">% is updated by safeguards</span>
0365         <span class="keyword">end</span>
0366       <span class="keyword">end</span>
0367     <span class="keyword">end</span>
0368     
0369     <span class="keyword">if</span> (bSafeguard)
0370       <span class="comment">% compute relative step location</span>
0371       q = (alpd-alp2)/(alp1-alp2);
0372       
0373       <span class="comment">%*********************************************</span>
0374       <span