Skip to content

Commit

Permalink
#684 remove valueerror
Browse files Browse the repository at this point in the history
  • Loading branch information
valentinsulzer committed Oct 31, 2019
1 parent ca8648c commit 5a35536
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion pybamm/processed_variable.py
Original file line number Diff line number Diff line change
Expand Up @@ -405,7 +405,6 @@ def __call__(self, t=None, x=None, r=None, y=None, z=None, warn=True):
elif self.dimensions == 3:
out = self.call_3D(t, x, r, y, z)
if warn is True and np.isnan(out).any():
raise ValueError
pybamm.logger.warning(
"Calling variable outside interpolation range (returns 'nan')"
)
Expand Down

0 comments on commit 5a35536

Please sign in to comment.