Skip to content

Commit

Permalink
Lint NPY002
Browse files Browse the repository at this point in the history
  • Loading branch information
Smartappli authored Jul 3, 2024
1 parent 7eddea1 commit a4e2485
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -64,8 +64,9 @@ def run_and_deposit_result(client):


def create_dataset(client):
mock = np.random.random(5)
private = np.random.random(5)
rng = np.random.default_rng()
mock = rng.random(5)
private = rng.random(5)

dataset = sy.Dataset(
name=sy.util.util.random_name().lower(),
Expand Down

0 comments on commit a4e2485

Please sign in to comment.