><span class="p">)</span>
            <span class="k">else</span><span class="p">:</span>
                <span class="n">rsi_res</span> <span class="o">=</span> <span class="n">rsi</span><span class="p">(</span><span class="n">ar</span><span class="p">)</span>
                <span class="k">assert</span> <span class="nb">len</span><span class="p">(</span><span class="n">rsi_res</span><span class="o">.</span><span class="n">shape</span><span class="p">)</span> <span class="o">==</span> <span class="mi">1</