Skip to content

Commit

Permalink
accidentally changed a variable name
Browse files Browse the repository at this point in the history
  • Loading branch information
joshfactorial committed Aug 28, 2024
1 parent a0a5e13 commit 59b9bdb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions neat/models/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -72,8 +72,8 @@ def get_insertion_length(self, size: int = None) -> int | list[int, ...]:
Greater than 1 returns a list of ints.
:return: int or list of ints.
"""
return self.rng.choice(a=list(self.insert_len_model),
p=[*self.insert_len_model.values()],
return self.rng.choice(a=list(self.insertion_len_model),
p=[*self.insertion_len_model.values()],
size=size, shuffle=False)


Expand Down

0 comments on commit 59b9bdb

Please sign in to comment.