Skip to content

Commit 2820787

Browse files
committed
fix test
1 parent 4709fe0 commit 2820787

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/emulators/test_gaussian_process_exact.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -169,9 +169,9 @@ def test_gp_corr_deterministic_with_seed(sample_data_y1d, new_data_y1d, device):
169169
new_seed = 43
170170
set_random_seed(seed)
171171
model1 = GaussianProcessCorrelated(x, y, device=device)
172-
set_random_seed(seed)
173-
model2 = GaussianProcessCorrelated(x, y, device=device)
174172
set_random_seed(new_seed)
173+
model2 = GaussianProcessCorrelated(x, y, device=device)
174+
set_random_seed(seed)
175175
model3 = GaussianProcessCorrelated(x, y, device=device)
176176
model1.fit(x, y)
177177
pred1 = model1.predict(x2)

0 commit comments

Comments
 (0)