Skip to content

Commit

Permalink
style: pre-commit fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
pre-commit-ci[bot] committed Aug 1, 2024
1 parent d31ee54 commit 098e3e2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pybop/parameters/parameter.py
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,7 @@ def set_bounds(self, bounds=None, boundary_multiplier=6):
def get_initial_value(self) -> float:
"""
Return the initial value of each parameter.
"""
"""
if self.initial_value is None:
if self.prior is not None:
sample = param.rvs(1)[0]
Expand Down

0 comments on commit 098e3e2

Please sign in to comment.