Skip to content

Commit

Permalink
Merge branch 'fix/parametrization-incomplete' into 'main'
Browse files Browse the repository at this point in the history
fix incomplete parametrization bug

See merge request es/ai/hannah/hannah!350
  • Loading branch information
moreib committed Nov 8, 2023
2 parents 49e3c66 + fe5d09d commit 7ef26fd
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions hannah/nas/search/sampler/mutator.py
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 7ef26fd

Please sign in to comment.