se</span> <span class="ne">ValueError</span><span class="p">(</span>
                        <span class="s2">&quot;The number of grid points must be a non-negative &quot;</span>
                        <span class="s2">&quot;integer.&quot;</span>
                    <span class="p">)</span>
                <span class="k">if</span> <span class="n">true_min</span> <span class="o">&lt;</span> <span class="n">prop_grid</span><span class="p">[</span><span class="s2">&quot;min&quot;</span><span class="p">]:</sp