Skip to content

Commit

Permalink
BUG: 'centered' argument has been deprecated in recent scipy versions
Browse files Browse the repository at this point in the history
  • Loading branch information
lzkelley committed Feb 16, 2024
1 parent 8d45a9b commit 9009b5a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion holodeck/librarian/params.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 9009b5a

Please sign in to comment.