Skip to content

Commit

Permalink
Reassign groups as needed
Browse files Browse the repository at this point in the history
  • Loading branch information
ConnectedSystems committed Apr 21, 2024
1 parent c659cde commit fa6ec71
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/SALib/analyze/morris.py
Original file line number Diff line number Diff line change
Expand Up @@ -146,6 +146,7 @@ def analyze(
num_vars = problem["num_vars"]
groups = _check_groups(problem)
if not groups:
groups = np.array(problem["names"])
number_of_groups = num_vars
else:
groups, unique_group_names = compute_groups_matrix(groups)
Expand Down

0 comments on commit fa6ec71

Please sign in to comment.