Skip to content

Commit

Permalink
flake8
Browse files Browse the repository at this point in the history
  • Loading branch information
brosaplanella committed Dec 31, 2020
1 parent 219ca4b commit 9ae3b76
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pybamm/parameters/parameter_values.py
Original file line number Diff line number Diff line change
Expand Up @@ -575,6 +575,7 @@ def _process_symbol(self, symbol):
max(function.x) - new_children[0],
pybamm.EventType.INTERPOLANT_EXTRAPOLATION,
)
)
elif isinstance(function_name, numbers.Number):
# If the "function" is provided is actually a scalar, return a Scalar
# object instead of throwing an error.
Expand Down

0 comments on commit 9ae3b76

Please sign in to comment.