From 958e002c69ae50afcc4136d756c4f30ad797a0ac Mon Sep 17 00:00:00 2001 From: atb1995 Date: Wed, 1 Nov 2023 11:45:19 +0000 Subject: [PATCH] Error switched to Runtime --- gusto/time_discretisation.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gusto/time_discretisation.py b/gusto/time_discretisation.py index 2cdfb4b55..79c8af94e 100644 --- a/gusto/time_discretisation.py +++ b/gusto/time_discretisation.py @@ -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