Skip to content

Commit bd33c3c

Browse files
Balandatfacebook-github-bot
authored andcommitted
Fix dostring for Powell (#2221)
Summary: Make sphinx pass. Fixes an issue introduced by #2217 that was not discovered due to broken CI. Pull Request resolved: #2221 Reviewed By: SebastianAment Differential Revision: D54205645 Pulled By: Balandat fbshipit-source-id: 271a32829b9eb8dfed1d0000cb01a750af29c57e
1 parent 0e74bb6 commit bd33c3c

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

botorch/test_functions/synthetic.py

+6-5
Original file line numberDiff line numberDiff line change
@@ -588,15 +588,16 @@ def evaluate_true(self, X: Tensor) -> Tensor:
588588
class Powell(SyntheticTestFunction):
589589
r"""Powell synthetic test function.
590590
591-
`d`-dim function (usually evaluated on hypercube `[-4, 5]^d`):
591+
`d`-dim function (usually evaluated on the hypercube `[-4, 5]^d`):
592592
593593
P(x) = sum_{i=1}^d/4 (
594-
(x_{4i-3} + 10 x_{4i-2})**2
595-
+ 5 (x_{4i-1} - x_{4i})**2
596-
+ (x_{4i-2} - 2 x_{4i-1})**4
597-
+ 10 (x_{4i-3} - x_{4i})**4
594+
(x_{4i-3} + 10 x_{4i-2})**2
595+
+ 5 (x_{4i-1} - x_{4i})**2
596+
+ (x_{4i-2} - 2 x_{4i-1})**4
597+
+ 10 (x_{4i-3} - x_{4i})**4
598598
)
599599
600+
600601
P has a global minimizer at `z = (0, ..., 0)` with `P(z) = 0`.
601602
"""
602603

0 commit comments

Comments
 (0)