Skip to content

Commit

Permalink
fix minsearch
Browse files Browse the repository at this point in the history
  • Loading branch information
aoymt committed Jun 9, 2024
1 parent 60cbd38 commit b5f1d8d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/py2dmat/algorithm/min_search.py
Original file line number Diff line number Diff line change
Expand Up @@ -55,14 +55,14 @@ def __init__(self, info: py2dmat.Info,
if domain and isinstance(domain, py2dmat.domain.Region):
self.domain = domain
else:
self.domain = py2dmat.domain.Region(info, num_walkers=self.mpisize)
self.domain = py2dmat.domain.Region(info)

self.min_list = self.domain.min_list
self.max_list = self.domain.max_list
self.unit_list = self.domain.unit_list

self.domain.initialize(rng=self.rng, limitation=runner.limitation)
self.initial_list = self.domain.initial_list[self.mpirank]
self.initial_list = self.domain.initial_list[0]

info_minimize = info.algorithm.get("minimize", {})
self.initial_scale_list = info_minimize.get(
Expand Down

0 comments on commit b5f1d8d

Please sign in to comment.