Skip to content

Commit

Permalink
Function has fs.block_size components not fs.value_size (#3899)
Browse files Browse the repository at this point in the history
  • Loading branch information
JHopeCollins authored Nov 29, 2024
1 parent 081789d commit 2be9fb2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion firedrake/function.py
Original file line number Diff line number Diff line change
Expand Up @@ -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))
Expand Down

0 comments on commit 2be9fb2

Please sign in to comment.