Skip to content

Commit

Permalink
Resolve conflicts (B904, B028, B020)
Browse files Browse the repository at this point in the history
  • Loading branch information
lorenzofavaro committed Mar 13, 2024
1 parent 34d9e71 commit 870656f
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion pybamm/discretisations/discretisation.py
Original file line number Diff line number Diff line change
Expand Up @@ -886,7 +886,7 @@ def _process_symbol(self, symbol):
# model.check_well_posedness, but won't be if debug_mode is False
try:
y_slices = self.y_slices[symbol]
except KeyError:
except KeyError as error:
raise pybamm.ModelError(
f"""
No key set for variable '{symbol.name}'. Make sure it is included in either
Expand All @@ -897,8 +897,12 @@ def _process_symbol(self, symbol):
) from error
=======
"""
<<<<<<< HEAD
)
>>>>>>> 58b705e96 (chore: update pre-commit hooks (#3890))
=======
) from error
>>>>>>> c8b39db3b (Resolve conflicts (B904, B028, B020))
# Add symbol's reference and multiply by the symbol's scale
# so that the state vector is of order 1
return symbol.reference + symbol.scale * pybamm.StateVector(
Expand Down

0 comments on commit 870656f

Please sign in to comment.