From 810cd5e25802d16edec4eb3ba07c4cf44f464342 Mon Sep 17 00:00:00 2001 From: Matthias Cuntz Date: Wed, 12 Feb 2020 01:26:17 +0100 Subject: [PATCH] Forgot to change name of one keyword in call to elementary_effects in function screening. Tests pass locally now. --- pyeee/screening.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyeee/screening.py b/pyeee/screening.py index ac2561a..dea01d1 100644 --- a/pyeee/screening.py +++ b/pyeee/screening.py @@ -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])