Skip to content

Commit

Permalink
#709 fix test for windows
Browse files Browse the repository at this point in the history
  • Loading branch information
valentinsulzer committed Feb 3, 2020
1 parent a19a389 commit 58218df
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions pybamm/expression_tree/symbol.py
Original file line number Diff line number Diff line change
Expand Up @@ -618,6 +618,8 @@ def evaluate_ignoring_errors(self):
return None
else:
raise error
except ValueError as e:
raise pybamm.ShapeError("Cannot find shape (original error: {})".format(e))
return result

def evaluates_to_number(self):
Expand Down

0 comments on commit 58218df

Please sign in to comment.