<p dir="auto">The new theme seems to have introduced a duplicate <code class="notranslate">reference</code> in the URL, e.g.,</p>
<ul dir="auto">
<li>Before: <a href="https://docs.scipy.org/doc/scipy/reference/linalg.interpolative.html" rel="nofollow">https://docs.scipy.org/doc/scipy/reference/linalg.interpolative.html</a></li>
<li>After: <a href="https://docs.scipy.org/doc/scipy/reference/reference/linalg.interpolative.html" rel="nofollow">https://docs.scipy.org/doc/scipy/reference/reference/linalg.interpolative.html</a></li>
</ul>
<p dir="auto">The effect was that today all SciPy search engine results I found were broken.</p>
<p dir="auto">The search engines will update eventually. But the double <code class="notranslate">/reference/reference/</code> in the url is unnecessary, so it might be better removed?</p>
<p dir="auto">&lt;&lt;Please describe the issue in detail here, and for bug reports fill in the fields below.&gt;&gt;</p>
<p dir="auto">I am using <code class="notranslate">scipy.odr</code> to fit an implicitly defined function. It seems that I have to assign directly to <code class="notranslate">ifixx</code> when creating an <code class="notranslate">odr.ODR</code> object instead of relying on my earlier assignment to <code class="notranslate">fix</code> when creating the <code class="notranslate">odr.Data</code> object that I pass to <code class="notranslate">odr.ODR</code>. Perhaps defining <code class="notranslate">fix</code> in odr.Data objects should simply be removed, because this duplicated functionality is somewhat confusing and doesn't seem to work as expected with <code class="notranslate">odr.ODR</code>. Otherwise, if this is the intended behavior, then perhaps this requirement to specify both <code class="notranslate">fix</code> and <code class="notranslate">ifixx</code> should be better documented.</p>
<h3 dir="auto">Reproducing code example:</h3>
<p dir="auto">Input:</p>
<div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="import scipy.odr as odr

# Some noisy data solving x2 = x1**2
x1 = [-2.01, -0.99, -0.001, 1.02, 1.98]
x2 = [3.98, 1.01, 0.001, 0.998, 4.01]
fix = np.vstack((np.zeros_like(x1, dtype=int), np.ones_like(x2, dtype=int)))

# Fixing x1 via the odr.Data object
odr_data = odr.Data(np.vstack((x1, x2)), y=1, fix=fix)

# Define the odr.Model object with an implicit model
odr_model = odr.Model(lambda beta, x: x[1, :] - beta[0] * x[0, :]**2., implicit=True)

# Prep and run the model WITHOUT specifying ifixx in odr.ODR object construction
odr_odr = odr.ODR(odr_data, odr_model, beta0=np.array([1.]))
odr_sol = odr_odr.run()
print(odr_sol.beta)

# Prep and run the model WITH specifying ifixx in odr.ODR object construction
odr_odr = odr.ODR(odr_data, odr_model, beta0=np.array([1.]), ifixx=fix)
odr_sol = odr_odr.run()
print(odr_sol.beta)"><pre class="notranslate"><span class="pl-k">import</span> <span class="pl-s1">scipy</span>.<span class="pl-s1">odr</span> <span class="pl-k">as</span> <span class="pl-s1">odr</span>

<span class="pl-c"># Some noisy data solving x2 = x1**2</span>
<span class="pl-s1">x1</span> <span class="pl-c1">=</span> [<span class="pl-c1">-</span><span class="pl-c1">2.01</span>, <span class="pl-c1">-</span><span class="pl-c1">0.99</span>, <span class="pl-c1">-</span><span class="pl-c1">0.001</span>, <span class="pl-c1">1.02</span>, <span class="pl-c1">1.98</span>]
<span class="pl-s1">x2</span> <span class="pl-c1">=</span> [<span class="pl-c1">3.98</span>, <span class="pl-c1">1.01</span>, <span class="pl-c1">0.001</span>, <span class="pl-c1">0.998</span>, <span class="pl-c1">4.01</span>]
<span class="pl-s1">fix</span> <span class="pl-c1">=</span> <span class="pl-s1">np</span>.<span class="pl-en">vstack</span>((<span class="pl-s1">np</span>.<span class="pl-en">zeros_like</span>(<span class="pl-s1">x1</span>, <span class="pl-s1">dtype</span><span class="pl-c1">=</span><span class="pl-s1">int</span>), <span class="pl-s1">np</span>.<span class="pl-en">ones_like</span>(<span class="pl-s1">x2</span>, <span class="pl-s1">dtype</span><span class="pl-c1">=</span><span class="pl-s1">int</span>)))

<span class="pl-c"># Fixing x1 via the odr.Data object</span>
<span class="pl-s1">odr_data</span> <span class="pl-c1">=</span> <span class="pl-s1">odr</span>.<span class="pl-v">Data</span>(<span class="pl-s1">np</span>.<span class="pl-en">vstack</span>((<span class="pl-s1">x1</span>, <span class="pl-s1">x2</span>)), <span class="pl-s1">y</span><span class="pl-c1">=</span><span class="pl-c1">1</span>, <span class="pl-s1">fix</span><span class="pl-c1">=</span><span class="pl-s1">fix</span>)

<span class="pl-c"># Define the odr.Model object with an implicit model</span>
<span class="pl-s1">odr_model</span> <span class="pl-c1">=</span> <span class="pl-s1">odr</span>.<span class="pl-v">Model</span>(<span class="pl-k">lambda</span> <span class="pl-s1">beta</span>, <span class="pl-s1">x</span>: <span class="pl-s1">x</span>[<span class="pl-c1">1</span>, :] <span class="pl-c1">-</span> <span class="pl-s1">beta</span>[<span class="pl-c1">0</span>] <span class="pl-c1">*</span> <span class="pl-s1">x</span>[<span class="pl-c1">0</span>, :]<span class="pl-c1">**</span><span class="pl-c1">2.</span>, <span class="pl-s1">implicit</span><span class="pl-c1">=</span><span class="pl-c1">True</span>)

<span class="pl-c"># Prep and run the model WITHOUT specifying ifixx in odr.ODR object construction</span>
<span class="pl-s1">odr_odr</span> <span class="pl-c1">=</span> <span class="pl-s1">odr</span>.<span class="pl-v">ODR</span>(<span class="pl-s1">odr_data</span>, <span class="pl-s1">odr_model</span>, <span class="pl-s1">beta0</span><span class="pl-c1">=</span><span class="pl-s1">np</span>.<span class="pl-en">array</span>([<span class="pl-c1">1.</span>]))
<span class="pl-s1">odr_sol</span> <span class="pl-c1">=</span> <span class="pl-s1">odr_odr</span>.<span class="pl-en">run</span>()
<span class="pl-en">print</span>(<span class="pl-s1">odr_sol</span>.<span class="pl-s1">beta</span>)

<span class="pl-c"># Prep and run the model WITH specifying ifixx in odr.ODR object construction</span>
<span class="pl-s1">odr_odr</span> <span class="pl-c1">=</span> <span class="pl-s1">odr</span>.<span class="pl-v">ODR</span>(<span class="pl-s1">odr_data</span>, <span class="pl-s1">odr_model</span>, <span class="pl-s1">beta0</span><span class="pl-c1">=</span><span class="pl-s1">np</span>.<span class="pl-en">array</span>([<span class="pl-c1">1.</span>]), <span class="pl-s1">ifixx</span><span class="pl-c1">=</span><span class="pl-s1">fix</span>)
<span class="pl-s1">odr_sol</span> <span class="pl-c1">=</span> <span class="pl-s1">odr_odr</span>.<span class="pl-en">run</span>()
<span class="pl-en">print</span>(<span class="pl-s1">odr_sol</span>.<span class="pl-s1">beta</span>)</pre></div>
<p dir="auto">Output:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="[1.00205273]
[1.00277605]"><pre class="notranslate"><code class="notranslate">[1.00205273]
[1.00277605]
</code></pre></div>
<p dir="auto">(I think the output should be the second output in both cases.)</p>
<h3 dir="auto">Error message:</h3>
<p dir="auto">N/A</p>
<h3 dir="auto">Scipy/Numpy/Python version information:</h3>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="Python version: 3.6.5
Numpy version: 1.14.5
Scipy version: 1.1.0"><pre class="notranslate"><code class="notranslate">Python version: 3.6.5
Numpy version: 1.14.5
Scipy version: 1.1.0
</code></pre></div>