From 844b4a0270b1e9cac7ffd16972ef4416c749e501 Mon Sep 17 00:00:00 2001 From: Jack Betteridge <43041811+JDBetteridge@users.noreply.github.com> Date: Thu, 5 Oct 2023 11:54:10 +0100 Subject: [PATCH] Apply suggestions from code review Co-authored-by: tommbendall --- firedrake/fml/form_manipulation_language.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/firedrake/fml/form_manipulation_language.py b/firedrake/fml/form_manipulation_language.py index 9fb0a8d458..acb88da3df 100644 --- a/firedrake/fml/form_manipulation_language.py +++ b/firedrake/fml/form_manipulation_language.py @@ -7,7 +7,7 @@ __all__ = ["Label", "Term", "LabelledForm", "identity", "drop", "all_terms", - "keep", "subject", "name"] + "keep", "subject", "name_label"] # ---------------------------------------------------------------------------- # # Core routines for filtering terms @@ -481,4 +481,4 @@ def update_value(self, target, new): # ---------------------------------------------------------------------------- # subject = Label("subject", validator=lambda value: type(value) == Function) -name = Label("name", validator=lambda value: type(value) == str) +name_label = Label("name", validator=lambda value: type(value) == str)