From 9009b5abb9f4cd7acb6f2bf944c37ac6c31a073d Mon Sep 17 00:00:00 2001 From: Luke Zoltan Kelley Date: Fri, 16 Feb 2024 12:51:49 -0800 Subject: [PATCH] BUG: 'centered' argument has been deprecated in recent scipy versions --- holodeck/librarian/params.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/holodeck/librarian/params.py b/holodeck/librarian/params.py index 3bb65d8c..f73d169f 100644 --- a/holodeck/librarian/params.py +++ b/holodeck/librarian/params.py @@ -75,7 +75,7 @@ def __init__(self, log, nsamples=None, sam_shape=None, seed=None, random_state=N param_samples = None else: # if strength = 2, then n must be equal to p**2, with p prime, and d <= p + 1 - lhc = sp.stats.qmc.LatinHypercube(d=ndims, centered=False, strength=1, seed=seed) + lhc = sp.stats.qmc.LatinHypercube(d=ndims, strength=1, seed=seed) # (S, D) - samples, dimensions uniform_samples = lhc.random(n=nsamples) param_samples = np.zeros_like(uniform_samples)