From fe5d09dc3cd77ec0a2bfd71f4177dde5c81a340c Mon Sep 17 00:00:00 2001 From: Moritz Reiber Date: Wed, 8 Nov 2023 13:11:02 +0100 Subject: [PATCH] fix incomplete parametrization bug --- hannah/nas/search/sampler/mutator.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/hannah/nas/search/sampler/mutator.py b/hannah/nas/search/sampler/mutator.py index f3243221..cff5846d 100644 --- a/hannah/nas/search/sampler/mutator.py +++ b/hannah/nas/search/sampler/mutator.py @@ -23,6 +23,8 @@ def mutate(self, parameters): if num in mutation_indices: parametrization[key] = self.mutate_parameter(param) mutated_keys.append(key) + else: + parametrization[key] = param.current_value return parametrization, mutated_keys