Skip to content

Commit

Permalink
Function has fs.block_size components not fs.value_size (#3895)
Browse files Browse the repository at this point in the history
  • Loading branch information
JHopeCollins authored Nov 28, 2024
1 parent 021b530 commit 86c4c44
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 @@ -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):
Expand Down

0 comments on commit 86c4c44

Please sign in to comment.