Skip to content

Commit

Permalink
Set fixed seed for testing.
Browse files Browse the repository at this point in the history
  • Loading branch information
mihaeladuta committed Nov 13, 2024
1 parent be16982 commit 54ab86c
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions tests/test_local2global.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,11 @@


# fixed seed for testing
# _seed = np.random.SeedSequence(148047762894979172857694243677519903461)
_seed = np.random.SeedSequence(148047762894979172857694243677519903461)

# random seed
# _seed = np.random.SeedSequence()

_seed = np.random.SeedSequence()
ut.seed(_seed)
print(_seed.entropy)

Expand Down

0 comments on commit 54ab86c

Please sign in to comment.