From d15eba60f70ef769c47de9ee19f9d58f65a79387 Mon Sep 17 00:00:00 2001 From: Josh Hope-Collins Date: Tue, 17 Dec 2024 08:45:32 +0000 Subject: [PATCH] fix assign visitor for cofunction?? --- firedrake/assign.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/firedrake/assign.py b/firedrake/assign.py index 8d1b30681a..892ed5b1b0 100644 --- a/firedrake/assign.py +++ b/firedrake/assign.py @@ -100,6 +100,9 @@ def component_tensor(self, o, a, _): def coefficient(self, o): return ((o, 1),) + def cofunction(self, o): + return ((o, 1),) + def constant_value(self, o): return ((o, 1),)