Spaces:
Runtime error
Runtime error
dummy commit
Browse files
app.py
CHANGED
|
@@ -7,7 +7,7 @@ def branin(x1, x2):
|
|
| 7 |
(x2 - 5.1 / (4 * np.pi**2) * x1**2 + 5.0 / np.pi * x1 - 6.0) ** 2
|
| 8 |
+ 10 * (1 - 1.0 / (8 * np.pi)) * np.cos(x1)
|
| 9 |
+ 10
|
| 10 |
-
)
|
| 11 |
|
| 12 |
return y
|
| 13 |
|
|
|
|
| 7 |
(x2 - 5.1 / (4 * np.pi**2) * x1**2 + 5.0 / np.pi * x1 - 6.0) ** 2
|
| 8 |
+ 10 * (1 - 1.0 / (8 * np.pi)) * np.cos(x1)
|
| 9 |
+ 10
|
| 10 |
+
) #
|
| 11 |
|
| 12 |
return y
|
| 13 |
|