Skip to content

Commit

Permalink
Fixing an indexing error in MSP
Browse files Browse the repository at this point in the history
  • Loading branch information
jmlarson1 committed Mar 19, 2024
1 parent 29cebb6 commit 2d28e28
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion manifold_sampling/py/update_models.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ def update_models(hfun, Ffun, n, p, nf, nfmax, xkin, delta, F, X, h, Hres, fq_pa
if mp < n and geometry_pt_flag: # Must obtain and evaluate bounded geometry points
Mdir, mp = bmpts(X[xkin], Mdir[: n - mp], L, U, delta, fq_pars["Par"][2])

for i in range(min(n - mp, nfmax - nf)):
for i in range(min(n - mp, nfmax - nf - 1)):
nf, X, F, h, Hash, _ = call_user_scripts(nf, X, F, h, Hash, Ffun, hfun, X[xkin, :] + Mdir[i, :], tol, L, U, 1)
D = Mdir[i, :]

Expand Down

0 comments on commit 2d28e28

Please sign in to comment.