Skip to content

Commit

Permalink
Merge pull request #401 from ianhi/patch-1
Browse files Browse the repository at this point in the history
Correct passing of arguments `optimize`->`optimize`
  • Loading branch information
quantumjot authored Feb 27, 2024
2 parents 8632533 + 2c98c4c commit 40d98b8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion btrack/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -508,7 +508,7 @@ def hypotheses(self) -> list[hypothesis.Hypothesis]:

def optimize(self, **kwargs):
"""Proxy for `optimise` for our American friends ;)"""
return self.optimise(**kwargs)
return self.optimise(options=kwargs)

def optimise(self, options: Optional[dict] = None) -> list[hypothesis.Hypothesis]:
"""Optimize the tracks.
Expand Down

0 comments on commit 40d98b8

Please sign in to comment.