          <span class="n">fun_name_to_fun</span><span class="o">=</span><span class="bp">self</span><span class="o">.</span><span class="n">fun_name_to_fun</span><span class="p">)</span>
            <span class="c1"># simulator will change init_st_vec so use</span>
            <span class="c1"># fresh copy of it each time</span>
            <span class="n">init_st_vec</span> <span class="o">=</span> <span class="n">cp</span><span class="o">.</span><span class="n">deepcopy</span><span class="p">(</span><span