Skip to content

Commit

Permalink
amend seed
Browse files Browse the repository at this point in the history
  • Loading branch information
h-mayorquin committed Mar 27, 2024
1 parent 76c567f commit e0aa6a9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pynwb/testing/mock/ecephys.py
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ def mock_Units(num_units: int = 10, max_spikes: int = 10, seed: Optional[int] =
)

if seed is None:
seed = np.pi
seed = 0
rng = np.random.default_rng(seed=seed)

times = rng.random(size=(num_units, max_spikes)).cumsum(axis=1)
Expand Down

0 comments on commit e0aa6a9

Please sign in to comment.