Skip to content

Commit

Permalink
Forgot to change name of one keyword in call to elementary_effects in…
Browse files Browse the repository at this point in the history
… function screening. Tests pass locally now.
  • Loading branch information
mcuntz committed Feb 12, 2020
1 parent 01019bd commit 810cd5e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pyeee/screening.py
Original file line number Diff line number Diff line change
Expand Up @@ -235,7 +235,7 @@ def screening(func, lb, ub, x0=None, mask=None,
nfx = fx.shape[1]
out = np.zeros((nfx,npara,3))
for j in range(nfx):
sa, res = elementary_effects(nmask, tmatrix, tvec, fx[:,j], p=nsteps, Diagnostic=False)
sa, res = elementary_effects(nmask, tmatrix, tvec, fx[:,j], nsteps=nsteps, Diagnostic=False)
# Output with zero for all masked parameters
if nt == 1:
out[j,imask,0] = np.abs(sa[:,0])
Expand Down

0 comments on commit 810cd5e

Please sign in to comment.