Skip to content

Commit 6d6597a

Browse files
committed
Update: test condition
1 parent 7e0b0e6 commit 6d6597a

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

test/retrieve/oe/test_oe_jax.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -201,11 +201,10 @@ def test_different_powers(self):
201201
"""
202202
f = DifferentPowers()
203203

204-
x = self.fuzzy(2.0, "x")
204+
x = self.fuzzy(1.0, "x")
205205
y = self.sharp(0.0, "y")
206206
result = OE().retrieve(f, x, y)
207207

208-
self.assertAlmostEqual(np.percentile(result.cost, 0.99), 0.0, delta=ATOL)
209208
self.assertTrue(np.allclose(result.cost, 0.0, atol=ATOL))
210209

211210
def fuzzy(self, val, shape_like: Literal["x", "y"]) -> np.ndarray:

0 commit comments

Comments
 (0)