Skip to content

Commit 58218df

Browse files
#709 fix test for windows
1 parent a19a389 commit 58218df

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

pybamm/expression_tree/symbol.py

+2
Original file line numberDiff line numberDiff line change
@@ -618,6 +618,8 @@ def evaluate_ignoring_errors(self):
618618
return None
619619
else:
620620
raise error
621+
except ValueError as e:
622+
raise pybamm.ShapeError("Cannot find shape (original error: {})".format(e))
621623
return result
622624

623625
def evaluates_to_number(self):

0 commit comments

Comments
 (0)