Skip to content

Commit

Permalink
Merge pull request #139 from POptUS/indexing_error
Browse files Browse the repository at this point in the history
Fixing an indexing error in MSP
  • Loading branch information
jmlarson1 committed Mar 20, 2024
2 parents 29cebb6 + 2d28e28 commit d3f2e12
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 d3f2e12

Please sign in to comment.