Skip to content

Commit

Permalink
Error switched to Runtime
Browse files Browse the repository at this point in the history
  • Loading branch information
alexbrown1995 committed Nov 1, 2023
1 parent 5878f23 commit 958e002
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gusto/time_discretisation.py
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ def __init__(self, domain, field_name=None, solver_parameters=None,
elif self.wrapper_name == "supg":
self.wrapper = SUPGWrapper(self, options)
else:
raise NotImplementedError(
raise RuntimeError(
f'Time discretisation: wrapper {self.wrapper_name} not implemented')
else:
self.wrapper = None
Expand Down

0 comments on commit 958e002

Please sign in to comment.