diff --git a/pybamm/parameters/parameter_values.py b/pybamm/parameters/parameter_values.py index 8b7feb1915..a950a58582 100644 --- a/pybamm/parameters/parameter_values.py +++ b/pybamm/parameters/parameter_values.py @@ -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.