Skip to content

Commit

Permalink
update SALib import
Browse files Browse the repository at this point in the history
  • Loading branch information
cortespea committed Oct 21, 2023
1 parent 4babee1 commit 859bc65
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion biosteam/evaluation/_state.py
Original file line number Diff line number Diff line change
Expand Up @@ -347,7 +347,7 @@ def sample(self, N, rule, **kwargs):
elif rule == 'RBD':
from SALib.sample import latin as sampler
elif rule == 'SOBOL' or rule == 'SALTELLI':
from SALib.sample import saltelli as sampler
from SALib.sample import sobol as sampler
else:
raise ValueError(f"invalid rule '{rule}'")
problem = kwargs.pop('problem') if 'problem' in kwargs else self.problem()
Expand Down

0 comments on commit 859bc65

Please sign in to comment.