From 4af8e4a8cc04e467a5afa4cffc2377698207b2a4 Mon Sep 17 00:00:00 2001 From: Josh Hope-Collins Date: Thu, 28 Nov 2024 15:17:25 +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 83136407ea..0eed4a5138 100644 --- a/firedrake/function.py +++ b/firedrake/function.py @@ -331,7 +331,7 @@ def _components(self): return (self, ) else: return tuple(type(self)(self.function_space().sub(i), self.topological.sub(i)) - for i in range(self.function_space().value_size)) + for i in range(self.function_space().block_size)) @PETSc.Log.EventDecorator() def sub(self, i):