Skip to content

Commit

Permalink
remove unused variable y
Browse files Browse the repository at this point in the history
  • Loading branch information
aagrande committed Feb 29, 2024
1 parent 7d6fe77 commit e2b2c9c
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions tests/test_sampling.py
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,6 @@ def test_linear_vpsde():
x = np.random.normal(size=(n, n_features))

# Define SDE
y = alpha * x + np.random.normal(size=(n, n_features)) * gamma * x
beta_min = 0.01
beta_max = 20
N = 100
Expand Down Expand Up @@ -233,7 +232,6 @@ def test_linear_subvpsde():
x = np.random.normal(size=(n, n_features))

# Define SDE
y = alpha * x + np.random.normal(size=(n, n_features)) * gamma * x
beta_min = 0.01
beta_max = 20
N = 100
Expand Down Expand Up @@ -274,8 +272,3 @@ def test_linear_subvpsde():

assert diff_mean.mean() < 0.1, f"subVPSDE: diff_mean.mean() = {diff_mean.mean()}"
assert diff_std.mean() < 0.1, f"subVPSDE: diff_std.mean() = {diff_std.mean()}"


test_linear_vesde()
test_linear_vpsde()
test_linear_subvpsde()

0 comments on commit e2b2c9c

Please sign in to comment.