From 4b73e94311f9716135d039c6d41a3742a6dfd35c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Johannes=20P=2E=20D=C3=BCrholt?= Date: Mon, 26 Feb 2024 18:10:12 +0100 Subject: [PATCH] fix it --- bofire/strategies/random.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bofire/strategies/random.py b/bofire/strategies/random.py index 6297d06fb..98e806a37 100644 --- a/bofire/strategies/random.py +++ b/bofire/strategies/random.py @@ -331,4 +331,4 @@ def _sample_from_polytope( for key, value in fixed_features.items(): samples[key] = value - return samples + return samples[domain.inputs.get_keys()]