Skip to content

Commit 9e57bff

Browse files
committed
reformat array comparison check
1 parent 57092d9 commit 9e57bff

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

tests/test_bayesian_optimization.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -632,7 +632,9 @@ def area_of_triangle(sides):
632632

633633
# Test that all historical data matches
634634
for i in range(len(optimizer.space)):
635-
np.testing.assert_array_almost_equal(optimizer.space.params[i], new_optimizer.space.params[i], decimal=10)
635+
np.testing.assert_array_almost_equal(
636+
optimizer.space.params[i], new_optimizer.space.params[i], decimal=10
637+
)
636638
assert optimizer.space.target[i] == new_optimizer.space.target[i]
637639
np.testing.assert_array_almost_equal(
638640
optimizer.res[i]["params"]["sides"], new_optimizer.res[i]["params"]["sides"], decimal=10

0 commit comments

Comments
 (0)