Skip to content

Commit

Permalink
Merge pull request #65 from issp-center-dev/issue_64
Browse files Browse the repository at this point in the history
fix #64
  • Loading branch information
yomichi authored Dec 23, 2024
2 parents 37205c7 + 9109384 commit 259d1cb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion physbo/search/discrete_multi/policy.py
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ def __init__(
msg = "ERROR: len(initial_data[0]) != initial_data[1].shape[0]"
raise RuntimeError(msg)
self.write(actions, fs)
self.actions = sorted(list(set(self.actions) - set(actions)))
self.actions = np.array(sorted(list(set(self.actions) - set(actions))))

if comm is None:
self.mpicomm = None
Expand Down

0 comments on commit 259d1cb

Please sign in to comment.