From 7e55041fcc796d64fa851d2e3bcdaefc2e5a4ba8 Mon Sep 17 00:00:00 2001 From: Josh Hope-Collins Date: Thu, 28 Nov 2024 17:41:52 +0000 Subject: [PATCH] Function has fs.block_size components not fs.value_size --- firedrake/function.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/firedrake/function.py b/firedrake/function.py index 0eed4a5138..100c02be87 100644 --- a/firedrake/function.py +++ b/firedrake/function.py @@ -327,7 +327,7 @@ def split(self): @utils.cached_property def _components(self): - if self.function_space().value_size == 1: + if self.function_space().block_size == 1: return (self, ) else: return tuple(type(self)(self.function_space().sub(i), self.topological.sub(i))