Skip to content

Commit

Permalink
Fix rng.
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewtarzia committed Feb 2, 2024
1 parent 8715652 commit f3095fd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/cgexplore/openmm_optimizer.py
Original file line number Diff line number Diff line change
Expand Up @@ -416,7 +416,7 @@ def __init__( # noqa: PLR0913

if random_seed is None:
logging.info("a random random seed is used")
rng = np.random.default_rng(1000)
rng = np.random.default_rng()
self._random_seed = rng.integers(low=1, high=4000)
else:
self._random_seed = random_seed
Expand Down

0 comments on commit f3095fd

Please sign in to comment.