Skip to content

Commit

Permalink
Fix predict without pybamm test
Browse files Browse the repository at this point in the history
  • Loading branch information
NicolaCourtier committed Aug 5, 2024
1 parent ab68d15 commit 4d4857b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pybop/models/base_model.py
Original file line number Diff line number Diff line change
Expand Up @@ -505,7 +505,7 @@ def predict(
if PyBaMM models are not supported by the current simulation method.
"""
if self._unprocessed_model is None:
if self.pybamm_model is None:
raise ValueError(
"The predict method currently only supports PyBaMM models."
)
Expand Down

0 comments on commit 4d4857b

Please sign in to comment.