Skip to content

Commit 21a836e

Browse files
basnijholtjbweston
authored andcommitted
take fewer points to speed up the test for the LearnerND
1 parent 3c90103 commit 21a836e

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

adaptive/tests/test_learners.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -390,6 +390,10 @@ def test_learner_performance_is_invariant_under_scaling(learner_type, f, learner
390390

391391
npoints = random.randrange(300, 500)
392392

393+
if learner_type is LearnerND:
394+
# Because the LearnerND is slow
395+
npoints //= 10
396+
393397
for n in range(npoints):
394398
cxs, _ = control.ask(1)
395399
xs, _ = learner.ask(1)

0 commit comments

Comments
 (0)