From b317f39024bda5137f3aaa459df1f1728fa3ae1c Mon Sep 17 00:00:00 2001 From: Tim Andrews Date: Tue, 20 Feb 2024 02:47:24 +0000 Subject: [PATCH] lint --- 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 49cc46e1d..5d9297c75 100644 --- a/gusto/time_discretisation.py +++ b/gusto/time_discretisation.py @@ -179,7 +179,7 @@ def setup(self, equation, apply_bcs=True, *active_labels): self.wrapper.field_names = equation.field_names for field, subwrapper in self.wrapper.subwrappers.items(): - + if field not in equation.field_names: raise ValueError(f"The option defined for {field} is for a field that does not exist in the equation set")