Skip to content

Commit 0af4796

Browse files
Balandatfacebook-github-bot
authored andcommitted
Fix docstring of neg_aug_rosenbrock (#201)
Summary: Previous commit broke sphinx doc generation. Pull Request resolved: #201 Test Plan: Built docs locally Reviewed By: sdaulton Differential Revision: D16105977 Pulled By: Balandat fbshipit-source-id: 6d36e5f33fe82e8ec3127d7243937c9aa48c1b5f
1 parent 94817e0 commit 0af4796

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

botorch/test_functions/aug_rosenbrock.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@ def neg_aug_rosenbrock(X: Tensor):
1515
d-dimensional function (usually evaluated on `[-5, 10]^(d-2) * [0, 1]^2`),
1616
the last two dimensions are the fidelity parameters:
1717
18-
`f(x) = sum_{i=1}^{d-1} (100 (x_{i+1} - x_i^2 + 0.1 * (1-x_{d-1}))^2
19-
+ (x_i - 1 + 0.1 * (1 - x_d)^2)^2)'
18+
f(x) = sum_{i=1}^{d-1} (100 (x_{i+1} - x_i^2 + 0.1 * (1-x_{d-1}))^2 +
19+
(x_i - 1 + 0.1 * (1 - x_d)^2)^2)
2020
2121
f has one minimizer for its global minimum at
2222

0 commit comments

Comments
 (0)