diff --git a/pybamm/spatial_methods/finite_volume.py b/pybamm/spatial_methods/finite_volume.py index d523ab9ebc..d02a2b0734 100644 --- a/pybamm/spatial_methods/finite_volume.py +++ b/pybamm/spatial_methods/finite_volume.py @@ -1412,7 +1412,7 @@ def upwind_or_downwind(self, symbol, discretised_symbol, bcs, direction): f"{direction}ing '{symbol}'" ) - # Extract only the relevant boundary condition as the system might have both + # Extract only the relevant boundary condition as the model might have both bc_subset = {bc_side: bcs[symbol][bc_side]} symbol_out, _ = self.add_ghost_nodes(symbol, discretised_symbol, bc_subset) return symbol_out