From 86c4c442dc5a09b4515042f73d527cf1515a5c70 Mon Sep 17 00:00:00 2001 From: Josh Hope-Collins Date: Thu, 28 Nov 2024 16:19:41 +0000 Subject: [PATCH] Function has fs.block_size components not fs.value_size (#3895) --- 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):